This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new a700f04fee8 branch-4.1: [fix](mv) Fix scan materialization pattern
context check #65414 (#66086)
a700f04fee8 is described below
commit a700f04fee82b0c367496c3b4b719ee7e4634fb3
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Aug 3 10:39:20 2026 +0800
branch-4.1: [fix](mv) Fix scan materialization pattern context check #65414
(#66086)
Cherry-picked from #65414
Co-authored-by: foxtail463 <[email protected]>
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]