Skip to content

Commit 2761a5c

Browse files
fix devive
1 parent 2d15dd4 commit 2761a5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/gporca/libgpopt/src/base/CDrvdPropPlan.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ CDrvdPropPlan::Derive(CMemoryPool *mp, CExpressionHandle &exprhdl,
8686
{
8787
CPhysical *popPhysical = CPhysical::PopConvert(exprhdl.Pop());
8888
if (nullptr != pdpctxt &&
89-
COperator::EopPhysicalCTEConsumer == popPhysical->Eopid())
89+
(COperator::EopPhysicalCTEConsumer == popPhysical->Eopid() ||
90+
COperator::EopPhysicalParallelCTEConsumer == popPhysical->Eopid()))
9091
{
9192
CopyCTEProducerPlanProps(mp, pdpctxt, popPhysical);
9293
}

0 commit comments

Comments
 (0)