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 bab2a3a3176 [fix](mv) Fix scan materialization pattern context check 
(#65414)
bab2a3a3176 is described below

commit bab2a3a3176e07bf5c06f6d6d9b4853a7facfdec
Author: foxtail463 <[email protected]>
AuthorDate: Mon Jul 27 15:01:54 2026 +0800

    [fix](mv) Fix scan materialization pattern context check (#65414)
    
    Co-authored-by: yangtao555 <[email protected]>
---
 .../exploration/mv/MaterializedViewAggregateOnNoneAggregateRule.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewAggregateOnNoneAggregateRule.java
 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewAggregateOnNoneAggregateRule.java
index 12a822b7388..883b6651ae7 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewAggregateOnNoneAggregateRule.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewAggregateOnNoneAggregateRule.java
@@ -91,8 +91,8 @@ public class MaterializedViewAggregateOnNoneAggregateRule 
extends AbstractMateri
         PlanCheckContext scanCheckContext = 
PlanCheckContext.of(ImmutableSet.of());
         return 
structInfo.getTopPlan().accept(StructInfo.SCAN_PLAN_PATTERN_CHECKER, 
scanCheckContext)
                 && !scanCheckContext.isContainsTopAggregate()
-                && !joinCheckContext.isContainsTopLimit() && 
!joinCheckContext.isContainsTopTopN()
-                && !joinCheckContext.isContainsTopWindow();
+                && !scanCheckContext.isContainsTopLimit() && 
!scanCheckContext.isContainsTopTopN()
+                && !scanCheckContext.isContainsTopWindow();
     }
 
     @Override


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to