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

Method MergeTable

cpp/src/arrow/util/hashing.h:627–633  ·  view source on GitHub ↗

Merge entries from `other_table` into `this`.

Source from the content-addressed store, hash-verified

625
626 // Merge entries from `other_table` into `this`.
627 Status MergeTable(const SmallScalarMemoTable& other_table) {
628 for (const Scalar& other_val : other_table.index_to_value_) {
629 int32_t unused;
630 RETURN_NOT_OK(this->GetOrInsert(other_val, &unused));
631 }
632 return Status::OK();
633 }
634
635 // Copy values starting from index `start` into `out_data`
636 void CopyValues(int32_t start, Scalar* out_data) const {

Callers

nothing calls this directly

Calls 2

GetOrInsertMethod · 0.95
OKFunction · 0.50

Tested by

no test coverage detected