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

Function ParseFromString

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

Source from the content-addressed store, hash-verified

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