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

Method JSONArrayFactory

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

Source from the content-addressed store, hash-verified

4352 }
4353
4354 static ArrayFactory JSONArrayFactory(const std::shared_ptr<MemoryManager>& mm,
4355 std::shared_ptr<DataType> type, const char* json) {
4356 return [=]() { return ToDevice(mm, *ArrayFromJSON(type, json)->data()); };
4357 }
4358
4359 static ArrayFactory SlicedArrayFactory(ArrayFactory factory) {
4360 return [=]() -> Result<std::shared_ptr<Array>> {

Callers

nothing calls this directly

Calls 2

ArrayFromJSONFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected