Commit 3afecaa
committed
refactor(esql): Improve MvExpand push-down logic in logical optimizer
- Simplified push-down logic for MvExpand past Project operations
- Removed unnecessary Limit operation from example comment
- Used `replaceChild()` method instead of creating a new MvExpand instance
- Streamlined code for pushing down MvExpand past Project nodes
- Improved code readability and reduced complexity of optimizer rule1 parent 6018ce0 commit 3afecaa
File tree
1 file changed
+2
-3
lines changed- x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical
1 file changed
+2
-3
lines changedLines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
78 | | - | |
| 77 | + | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
| |||
0 commit comments