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

Function DictScalarFromJSON

cpp/src/arrow/testing/gtest_util.cc:425–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425std::shared_ptr<Scalar> DictScalarFromJSON(const std::shared_ptr<DataType>& type,
426 std::string_view index_json,
427 std::string_view dictionary_json) {
428 EXPECT_OK_AND_ASSIGN(auto out,
429 json::DictScalarFromJSONString(type, index_json, dictionary_json));
430 return out;
431}
432
433std::shared_ptr<Table> TableFromJSON(const std::shared_ptr<Schema>& schema,
434 const std::vector<std::string>& json) {

Callers 4

TESTFunction · 0.85
TYPED_TESTFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected