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

Function ScalarFromJSON

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

Source from the content-addressed store, hash-verified

409}
410
411std::shared_ptr<Scalar> ScalarFromJSON(const std::shared_ptr<DataType>& type,
412 std::string_view json) {
413 EXPECT_OK_AND_ASSIGN(auto out, json::ScalarFromJSONString(type, json));
414 return out;
415}
416
417std::shared_ptr<Scalar> DictScalarFromJSON(const std::shared_ptr<DataType>& type,
418 std::string_view index_json,

Callers 15

TESTFunction · 0.85
BindAndEvaluateFunction · 0.85
TESTFunction · 0.85
GetScalarsFunction · 0.85
DataEqScalarFunction · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
CheckMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected