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

Function ExecAssignProjectionInfo

src/backend/executor/execUtils.c:591–601  ·  view source on GitHub ↗

---------------- * ExecAssignProjectionInfo * * forms the projection information from the node's targetlist * * Notes for inputDesc are same as for ExecBuildProjectionInfo: supply it * for a relation-scan node, can pass NULL for upper-level nodes * ---------------- */

Source from the content-addressed store, hash-verified

589 * ----------------
590 */
591void
592ExecAssignProjectionInfo(PlanState *planstate,
593 TupleDesc inputDesc)
594{
595 planstate->ps_ProjInfo =
596 ExecBuildProjectionInfo(planstate->plan->targetlist,
597 planstate->ps_ExprContext,
598 planstate->ps_ResultTupleSlot,
599 planstate,
600 inputDesc);
601}
602
603
604/* ----------------

Callers 11

ExecInitMergeJoinFunction · 0.85
ExecInitWindowAggFunction · 0.85
ExecInitAssertOpFunction · 0.85
ExecInitResultFunction · 0.85
ExecInitTupleSplitFunction · 0.85
ExecInitHashJoinFunction · 0.85
ExecInitAggFunction · 0.85
ExecInitGroupFunction · 0.85
ExecInitNestLoopFunction · 0.85

Calls 1

ExecBuildProjectionInfoFunction · 0.85

Tested by

no test coverage detected