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

Method FinishDelta

cpp/src/arrow/array/builder_dict.h:484–492  ·  view source on GitHub ↗

\brief Return dictionary indices and a delta dictionary since the last time that Finish or FinishDelta were called, and reset state of builder (except the memo table)

Source from the content-addressed store, hash-verified

482 /// time that Finish or FinishDelta were called, and reset state of builder
483 /// (except the memo table)
484 Status FinishDelta(std::shared_ptr<Array>* out_indices,
485 std::shared_ptr<Array>* out_delta) {
486 std::shared_ptr<ArrayData> indices_data;
487 std::shared_ptr<ArrayData> delta_data;
488 ARROW_RETURN_NOT_OK(FinishWithDictOffset(delta_offset_, &indices_data, &delta_data));
489 *out_indices = MakeArray(indices_data);
490 *out_delta = MakeArray(delta_data);
491 return Status::OK();
492 }
493
494 /// \cond FALSE
495 using ArrayBuilder::Finish;

Calls 2

MakeArrayFunction · 0.70
OKFunction · 0.50

Tested by 2

TYPED_TESTFunction · 0.64
TESTFunction · 0.64