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

Function ExecInitNullTupleSlot

src/backend/executor/execTuples.c:1863–1870  ·  view source on GitHub ↗

---------------- * ExecInitNullTupleSlot * * Build a slot containing an all-nulls tuple of the given type. * This is used as a substitute for an input tuple when performing an * outer join. * ---------------- */

Source from the content-addressed store, hash-verified

1861 * ----------------
1862 */
1863TupleTableSlot *
1864ExecInitNullTupleSlot(EState *estate, TupleDesc tupType,
1865 const TupleTableSlotOps *tts_ops)
1866{
1867 TupleTableSlot *slot = ExecInitExtraTupleSlot(estate, tupType, tts_ops);
1868
1869 return ExecStoreAllNullTuple(slot);
1870}
1871
1872/* ---------------------------------------------------------------
1873 * Routines for setting/accessing attributes in a slot.

Callers 5

ExecInitMergeJoinFunction · 0.85
ExecPrefetchQualFunction · 0.85
ExecInitHashJoinFunction · 0.85
ExecNestLoop_gutsFunction · 0.85
ExecInitNestLoopFunction · 0.85

Calls 2

ExecInitExtraTupleSlotFunction · 0.85
ExecStoreAllNullTupleFunction · 0.85

Tested by

no test coverage detected