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

Function ExecMergeJoin

src/backend/executor/nodeMergejoin.c:1522–1540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1520}
1521
1522static TupleTableSlot *
1523ExecMergeJoin(PlanState *pstate)
1524{
1525 TupleTableSlot *result;
1526
1527 result = ExecMergeJoin_guts(pstate);
1528
1529 if (TupIsNull(result))
1530 {
1531 /*
1532 * CDB: We'll read no more from inner subtree. To keep our sibling
1533 * QEs from being starved, tell source QEs not to clog up the
1534 * pipeline with our never-to-be-consumed data.
1535 */
1536 ExecSquelchNode(pstate, false);
1537 }
1538
1539 return result;
1540}
1541
1542/* ----------------------------------------------------------------
1543 * ExecInitMergeJoin

Callers

nothing calls this directly

Calls 2

ExecMergeJoin_gutsFunction · 0.85
ExecSquelchNodeFunction · 0.85

Tested by

no test coverage detected