| 1952 | } // namespace |
| 1953 | |
| 1954 | Result<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 | |
| 1961 | Result<std::shared_ptr<Array>> ImportArray(struct ArrowArray* array, |
| 1962 | struct ArrowSchema* type) { |