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

Function ExecParallelHashNextTuple

src/backend/executor/nodeHash.c:3948–3957  ·  view source on GitHub ↗

* Get the next tuple in the same bucket as 'tuple'. */

Source from the content-addressed store, hash-verified

3946 * Get the next tuple in the same bucket as 'tuple'.
3947 */
3948static inline HashJoinTuple
3949ExecParallelHashNextTuple(HashJoinTable hashtable, HashJoinTuple tuple)
3950{
3951 HashJoinTuple next;
3952
3953 Assert(hashtable->parallel_state);
3954 next = (HashJoinTuple) dsa_get_address(hashtable->area, tuple->next.shared);
3955
3956 return next;
3957}
3958
3959/*
3960 * Insert a tuple at the front of a chain of tuples in DSA memory atomically.

Callers 1

Calls 1

dsa_get_addressFunction · 0.85

Tested by

no test coverage detected