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

Function ScalarFromJSON

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

Source from the content-addressed store, hash-verified

413}
414
415std::shared_ptr<Scalar> ScalarFromJSON(const std::shared_ptr<DataType>& type,
416 std::string_view json) {
417 EXPECT_OK_AND_ASSIGN(auto out, json::ScalarFromJSONString(type, json));
418 return out;
419}
420
421std::shared_ptr<Scalar> DictScalarFromJSON(const std::shared_ptr<DataType>& type,
422 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