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

Method JSONArrayFactory

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

Source from the content-addressed store, hash-verified

681 void SetUp() override { pool_ = default_memory_pool(); }
682
683 static std::function<Result<std::shared_ptr<Array>>()> JSONArrayFactory(
684 std::shared_ptr<DataType> type, const char* json) {
685 return [=]() { return ArrayFromJSON(type, json); };
686 }
687
688 template <typename ArrayFactory, typename ExportCheckFunc>
689 void TestWithArrayFactory(ArrayFactory&& factory, ExportCheckFunc&& check_func) {

Callers

nothing calls this directly

Calls 1

ArrayFromJSONFunction · 0.85

Tested by

no test coverage detected