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

Function ExecReScanShareInputScan

src/backend/executor/nodeShareInputScan.c:602–614  ·  view source on GitHub ↗

------------------------------------------------------------------ * ExecReScanShareInputScan * ------------------------------------------------------------------ */

Source from the content-addressed store, hash-verified

600 * ------------------------------------------------------------------
601 */
602void
603ExecReScanShareInputScan(ShareInputScanState *node)
604{
605 /* On first call, initialize the tuplestore state */
606 if (!node->isready)
607 init_tuplestore_state(node);
608
609 ExecClearTuple(node->ss.ps.ps_ResultTupleSlot);
610 Assert(node->ts_pos != -1);
611
612 tuplestore_select_read_pointer(node->ts_state, node->ts_pos);
613 tuplestore_rescan(node->ts_state);
614}
615
616/*
617 * This is called when the node above us has finished and will not need any more

Callers 1

ExecReScanFunction · 0.85

Calls 4

init_tuplestore_stateFunction · 0.85
ExecClearTupleFunction · 0.85
tuplestore_rescanFunction · 0.85

Tested by

no test coverage detected