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

Method JSONREEArrayFactory

cpp/src/arrow/c/bridge_test.cc:1467–1474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1465
1466#ifdef ARROW_COMPUTE
1467 static std::function<Result<std::shared_ptr<Array>>()> JSONREEArrayFactory(
1468 const std::shared_ptr<MemoryManager>& mm, std::shared_ptr<DataType> type,
1469 const char* json) {
1470 return [=]() -> Result<std::shared_ptr<Array>> {
1471 ARROW_ASSIGN_OR_RAISE(auto result, REEFromJSON(type, json));
1472 return ToDevice(mm, *result->data());
1473 };
1474 }
1475#endif
1476
1477 template <typename ArrayFactory, typename ExportCheckFunc>

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected