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

Function slotNoNulls

src/backend/executor/nodeSubplan.c:783–795  ·  view source on GitHub ↗

* slotNoNulls: is the slot entirely not NULL? * * This does not test for dropped columns, which is OK because we only * use it on projected tuples. */

Source from the content-addressed store, hash-verified

781 * use it on projected tuples.
782 */
783static bool
784slotNoNulls(TupleTableSlot *slot)
785{
786 int ncols = slot->tts_tupleDescriptor->natts;
787 int i;
788
789 for (i = 1; i <= ncols; i++)
790 {
791 if (slot_attisnull(slot, i))
792 return false;
793 }
794 return true;
795}
796
797/* ----------------------------------------------------------------
798 * ExecInitSubPlan

Callers 2

ExecHashSubPlanFunction · 0.85
buildSubPlanHashFunction · 0.85

Calls 1

slot_attisnullFunction · 0.85

Tested by

no test coverage detected