| 1957 | } // namespace |
| 1958 | |
| 1959 | Result<std::shared_ptr<Array>> ImportArray(struct ArrowArray* array, |
| 1960 | std::shared_ptr<DataType> type) { |
| 1961 | ArrayImporter importer(type); |
| 1962 | RETURN_NOT_OK(importer.Import(array)); |
| 1963 | return importer.MakeArray(); |
| 1964 | } |
| 1965 | |
| 1966 | Result<std::shared_ptr<Array>> ImportArray(struct ArrowArray* array, |
| 1967 | struct ArrowSchema* type) { |