Skip to content

Commit 9164afe

Browse files
Address more code review comments
1 parent 52dba47 commit 9164afe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/PostOptimizationPhasePlanVerifier.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ private static void verifyOutputNotChanged(QueryPlan<?> optimizedPlan, List<Attr
5555
if (dataTypeEquals(expectedOutputAttributes, optimizedPlan.output()) == false) {
5656
// If the output level is empty we add a column called ProjectAwayColumns.ALL_FIELDS_PROJECTED
5757
// We will ignore such cases for output verification
58+
// TODO: this special casing is required due to https://github.com/elastic/elasticsearch/issues/121741, remove when fixed.
5859
boolean hasProjectAwayColumns = optimizedPlan.output()
5960
.stream()
6061
.anyMatch(x -> x.name().equals(ProjectAwayColumns.ALL_FIELDS_PROJECTED));

0 commit comments

Comments
 (0)