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

Function ImportType

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

Source from the content-addressed store, hash-verified

1450} // namespace
1451
1452Result<std::shared_ptr<DataType>> ImportType(struct ArrowSchema* schema) {
1453 SchemaImporter importer;
1454 RETURN_NOT_OK(importer.Import(schema));
1455 return importer.MakeType();
1456}
1457
1458Result<std::shared_ptr<Field>> ImportField(struct ArrowSchema* schema) {
1459 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