We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e75a9c commit 21ac430Copy full SHA for 21ac430
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java
@@ -1962,7 +1962,7 @@ private static LogicalPlan planWithoutSyntheticAttributes(LogicalPlan plan) {
1962
1963
for (Attribute attr : output) {
1964
// Do not let the synthetic union type field attributes end up in the final output.
1965
- if (attr.synthetic()) {
+ if (attr.synthetic() && attr.name().equals(Analyzer.NO_FIELDS_NAME) == false) {
1966
continue;
1967
}
1968
newOutput.add(attr);
0 commit comments