MCPcopy Create free account
hub / github.com/apache/impala / SetMatched

Method SetMatched

be/src/exec/hash-table.inline.h:325–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325inline void HashTable::Iterator::SetMatched() {
326 DCHECK(!AtEnd());
327 Bucket* bucket = &table_->buckets_[bucket_idx_];
328 if (table_->stores_duplicates() && bucket->HasDuplicates()) {
329 node_->SetMatched();
330 } else {
331 bucket->SetMatched();
332 }
333 // Used for disabling spilling of hash tables in right and full-outer joins with
334 // matches. See IMPALA-1488.
335 table_->has_matches_ = true;
336}
337
338inline bool HashTable::Iterator::IsMatched() const {
339 DCHECK(!AtEnd());

Calls 2

stores_duplicatesMethod · 0.80
HasDuplicatesMethod · 0.45

Tested by

no test coverage detected