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

Function ScalarFromJSON

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

Source from the content-addressed store, hash-verified

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