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

Function ExecCustomScanEstimate

src/backend/executor/nodeCustom.c:161–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void
162ExecCustomScanEstimate(CustomScanState *node, ParallelContext *pcxt)
163{
164 const CustomExecMethods *methods = node->methods;
165
166 if (methods->EstimateDSMCustomScan)
167 {
168 node->pscan_len = methods->EstimateDSMCustomScan(node, pcxt);
169 shm_toc_estimate_chunk(&pcxt->estimator, node->pscan_len);
170 shm_toc_estimate_keys(&pcxt->estimator, 1);
171 }
172}
173
174void
175ExecCustomScanInitializeDSM(CustomScanState *node, ParallelContext *pcxt)

Callers 1

ExecParallelEstimateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected