MCPcopy Create free account
hub / github.com/apache/cloudberry / ResetTupleHashTable

Function ResetTupleHashTable

src/backend/executor/execGrouping.c:295–299  ·  view source on GitHub ↗

* Reset contents of the hashtable to be empty, preserving all the non-content * state. Note that the tablecxt passed to BuildTupleHashTableExt() should * also be reset, otherwise there will be leaks. */

Source from the content-addressed store, hash-verified

293 * also be reset, otherwise there will be leaks.
294 */
295void
296ResetTupleHashTable(TupleHashTable hashtable)
297{
298 tuplehash_reset(hashtable->hashtab);
299}
300
301/*
302 * Find or create a hashtable entry for the tuple group containing the

Callers 6

ExecReScanSetOpFunction · 0.85
ExecReScanRecursiveUnionFunction · 0.85
build_hash_tablesFunction · 0.85
agg_refill_hash_tableFunction · 0.85
agg_retrieve_hash_tableFunction · 0.85
buildSubPlanHashFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected