You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2023/12/11 06:58:50 UTC
(doris) branch master updated: [fix](Nereids) rewrite cte children check wrong map for consumer (#28220)
This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 3c2e8b0ecfe [fix](Nereids) rewrite cte children check wrong map for consumer (#28220)
3c2e8b0ecfe is described below
commit 3c2e8b0ecfe786445dfab729bff1115f56f3c8b7
Author: morrySnow <10...@users.noreply.github.com>
AuthorDate: Mon Dec 11 14:58:42 2023 +0800
[fix](Nereids) rewrite cte children check wrong map for consumer (#28220)
---
.../java/org/apache/doris/nereids/rules/rewrite/RewriteCteChildren.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/RewriteCteChildren.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/RewriteCteChildren.java
index 3318f9990d8..72a4603fadc 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/RewriteCteChildren.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/RewriteCteChildren.java
@@ -78,7 +78,7 @@ public class RewriteCteChildren extends DefaultPlanRewriter<CascadesContext> imp
CascadesContext cascadesContext) {
LogicalPlan outer;
if (cascadesContext.getStatementContext().getRewrittenCteConsumer().containsKey(cteAnchor.getCteId())) {
- outer = cascadesContext.getStatementContext().getRewrittenCteProducer().get(cteAnchor.getCteId());
+ outer = cascadesContext.getStatementContext().getRewrittenCteConsumer().get(cteAnchor.getCteId());
} else {
CascadesContext outerCascadesCtx = CascadesContext.newSubtreeContext(
Optional.empty(), cascadesContext, cteAnchor.child(1),
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org