| 1458 | } |
| 1459 | |
| 1460 | static std::function<Result<std::shared_ptr<Array>>()> JSONArrayFactory( |
| 1461 | const std::shared_ptr<MemoryManager>& mm, std::shared_ptr<DataType> type, |
| 1462 | const char* json) { |
| 1463 | return [=]() { return ToDevice(mm, *ArrayFromJSON(type, json)->data()); }; |
| 1464 | } |
| 1465 | |
| 1466 | #ifdef ARROW_COMPUTE |
| 1467 | static std::function<Result<std::shared_ptr<Array>>()> JSONREEArrayFactory( |
nothing calls this directly
no test coverage detected