Skip to content

Commit 8f813a5

Browse files
Javadoc
1 parent ddef58f commit 8f813a5

File tree

1 file changed

+3
-0
lines changed
  • x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/command

1 file changed

+3
-0
lines changed

x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/command/CommandGenerator.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ static ValidationResult expectSameColumns(List<EsqlQueryGenerator.Column> previo
140140
return VALIDATION_OK;
141141
}
142142

143+
/**
144+
* The command doesn't have to produce LESS columns than the previous query
145+
*/
143146
static ValidationResult expectAtLeastSameNumberOfColumns(
144147
List<EsqlQueryGenerator.Column> previousColumns,
145148
List<EsqlQueryGenerator.Column> columns

0 commit comments

Comments
 (0)