Commit c505da9
* Refactor QueryBuilderResolver Rewrite Logic
This commit improves the rewrite logic by switching to reference comparison for termination checks.
While the existing implementation functions correctly, the rewrite contract is designed to compare references rather than performing a full object comparison, which is unnecessary.
Additionally, this change guarantees that only a single rewrite pass is executed per query builder.
* avoid getting the value
---------
Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Felix Barnsteiner <[email protected]>
1 parent 27d4bfe commit c505da9
File tree
1 file changed
+5
-8
lines changed- x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session
1 file changed
+5
-8
lines changedLines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
156 | 157 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
| 158 | + | |
162 | 159 | | |
163 | 160 | | |
164 | 161 | | |
| |||
0 commit comments