MCPcopy Create free account
hub / github.com/apache/arrow / ImportType

Function ImportType

cpp/src/arrow/c/bridge.cc:1447–1451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1445} // namespace
1446
1447Result<std::shared_ptr<DataType>> ImportType(struct ArrowSchema* schema) {
1448 SchemaImporter importer;
1449 RETURN_NOT_OK(importer.Import(schema));
1450 return importer.MakeType();
1451}
1452
1453Result<std::shared_ptr<Field>> ImportField(struct ArrowSchema* schema) {
1454 SchemaImporter importer;

Callers 5

TestWithTypeFactoryMethod · 0.70
ExportImportTypeFunction · 0.70
ImportArrayFunction · 0.70
ImportDeviceArrayFunction · 0.70
garrow_data_type_importFunction · 0.50

Calls 2

MakeTypeMethod · 0.80
ImportMethod · 0.45

Tested by 1

TestWithTypeFactoryMethod · 0.56