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

Method FinishDelta

cpp/src/arrow/array/builder_dict.h:476–484  ·  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

474 /// time that Finish or FinishDelta were called, and reset state of builder
475 /// (except the memo table)
476 Status FinishDelta(std::shared_ptr<Array>* out_indices,
477 std::shared_ptr<Array>* out_delta) {
478 std::shared_ptr<ArrayData> indices_data;
479 std::shared_ptr<ArrayData> delta_data;
480 ARROW_RETURN_NOT_OK(FinishWithDictOffset(delta_offset_, &indices_data, &delta_data));
481 *out_indices = MakeArray(indices_data);
482 *out_delta = MakeArray(delta_data);
483 return Status::OK();
484 }
485
486 /// \cond FALSE
487 using ArrayBuilder::Finish;

Calls 2

MakeArrayFunction · 0.70
OKFunction · 0.50

Tested by 2

TYPED_TESTFunction · 0.64
TESTFunction · 0.64