Repository navigation
Commit 8e86e7d
committed
[improvement](fe) Allow Cast in MTMV partition increment expression tree
### What problem does this PR solve?
Issue Number: close apache#62395
Related PR: None
Problem Summary: Partition increment check walks all sub-expressions; datetime
plans often wrap slots in Cast under HoursAdd/HoursSub. Without Cast in the
allowed set, MTMV partition analysis failed with invalid implicit expression.
### Release note
None
### Check List (For Author)
- Test: No need to test (with reason)
- Checkstyle verified: mvn checkstyle:check -pl fe-core
- Behavior changed: No
- Does this need documentation: No
Made-with: Cursor1 parent f241e7c commit 8e86e7d
1 file changed
Lines changed: 3 additions & 1 deletion
File tree
- fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
96 | | - | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
0 commit comments