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

Function DictScalarFromJSON

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

Source from the content-addressed store, hash-verified

415}
416
417std::shared_ptr<Scalar> DictScalarFromJSON(const std::shared_ptr<DataType>& type,
418 std::string_view index_json,
419 std::string_view dictionary_json) {
420 EXPECT_OK_AND_ASSIGN(auto out,
421 json::DictScalarFromJSONString(type, index_json, dictionary_json));
422 return out;
423}
424
425std::shared_ptr<Table> TableFromJSON(const std::shared_ptr<Schema>& schema,
426 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