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

Method MergeTable

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

defined here so that `HashTableType` is visible Merge entries from `other_table` into `this->hash_table_`.

Source from the content-addressed store, hash-verified

535 // defined here so that `HashTableType` is visible
536 // Merge entries from `other_table` into `this->hash_table_`.
537 Status MergeTable(const ScalarMemoTable& other_table) {
538 const HashTableType& other_hashtable = other_table.hash_table_;
539 return other_hashtable.VisitEntries([this](const HashTableEntry* other_entry) {
540 int32_t unused;
541 return this->GetOrInsert(other_entry->payload.value, &unused);
542 });
543 }
544};
545
546// ----------------------------------------------------------------------

Callers 2

TESTFunction · 0.45
MergeFromMethod · 0.45

Calls 2

GetOrInsertMethod · 0.95
VisitEntriesMethod · 0.80

Tested by 1

TESTFunction · 0.36