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

Function ParseFromString

cpp/src/arrow/json/test_common.h:245–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245inline static Status ParseFromString(ParseOptions options, string_view src_str,
246 std::shared_ptr<Array>* parsed) {
247 auto src = std::make_shared<Buffer>(src_str);
248 std::unique_ptr<BlockParser> parser;
249 RETURN_NOT_OK(BlockParser::Make(options, &parser));
250 RETURN_NOT_OK(parser->Parse(src));
251 return parser->Finish(parsed);
252}
253
254inline static Status ParseFromString(ParseOptions options, string_view src_str,
255 std::shared_ptr<StructArray>* parsed) {

Callers 6

AssertBuildingFunction · 0.70
TESTFunction · 0.70
AssertParseColumnsFunction · 0.70
TEST_PFunction · 0.70
TESTFunction · 0.70
TESTFunction · 0.70

Calls 4

OKFunction · 0.70
MakeFunction · 0.50
ParseMethod · 0.45
FinishMethod · 0.45

Tested by

no test coverage detected