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

Function ImportArray

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

Source from the content-addressed store, hash-verified

1952} // namespace
1953
1954Result<std::shared_ptr<Array>> ImportArray(struct ArrowArray* array,
1955 std::shared_ptr<DataType> type) {
1956 ArrayImporter importer(type);
1957 RETURN_NOT_OK(importer.Import(array));
1958 return importer.MakeArray();
1959}
1960
1961Result<std::shared_ptr<Array>> ImportArray(struct ArrowArray* array,
1962 struct ArrowSchema* type) {

Callers 6

CheckImportErrorMethod · 0.70
TEST_FFunction · 0.70
TestWithArrayFactoryMethod · 0.70
ExportImportArrayFunction · 0.70
ImportArrayInternalMethod · 0.70
garrow_array_importFunction · 0.50

Calls 6

ArrowArrayReleaseFunction · 0.85
ImportTypeFunction · 0.70
ImportMethod · 0.45
MakeArrayMethod · 0.45
okMethod · 0.45
statusMethod · 0.45

Tested by 3

CheckImportErrorMethod · 0.56
TEST_FFunction · 0.56
TestWithArrayFactoryMethod · 0.56