Skip to content

Commit fa2d8eb

Browse files
fix
1 parent 083e4aa commit fa2d8eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/gporca/libgpdbcost/src/CCostModelGPDB.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ CCostModelGPDB::CostParallelCTEProducer(CMemoryPool *mp, CExpressionHandle &expr
486486
COperator::EopPhysicalSort != op_id)
487487
{
488488
// no materialize needed
489-
return cost;
489+
return CCost(cost/ulWorkers);
490490
}
491491

492492
// a materialize (spool) node is added during DXL->PlStmt translation,

0 commit comments

Comments
 (0)