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

Method ParseAndInsert

cpp/src/arrow/json/reader.cc:287–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285 }
286
287 Status ParseAndInsert(const ChunkedBlock& block) {
288 ARROW_ASSIGN_OR_RAISE(auto parsed, ParseBlock(block, decode_context_.parse_options(),
289 decode_context_.pool()));
290 builder_->Insert(block.index, field("", parsed->type()), parsed);
291 return Status::OK();
292 }
293
294 DecodeContext decode_context_;
295 ReadOptions read_options_;

Callers 1

ReadMethod · 0.95

Calls 4

OKFunction · 0.70
fieldFunction · 0.50
InsertMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected