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

Method ParseAndInsert

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

Source from the content-addressed store, hash-verified

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