Skip to content

Commit 17f31e8

Browse files
committed
Merge branch 'move_explain_validation' of https://github.com/astefan/elasticsearch into move_explain_validation
2 parents 84ec0a3 + 253f35c commit 17f31e8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/StatementParserTests.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3500,7 +3500,10 @@ public void testExplainErrors() {
35003500
assumeTrue("Requires EXPLAIN capability", EsqlCapabilities.Cap.EXPLAIN.isEnabled());
35013501
// TODO this one is incorrect
35023502
expectError("explain ( from test ) | limit 1", "line 1:23: mismatched input '|' expecting {'|', ',', ')', 'metadata'}");
3503-
expectError("explain (row x=\"Elastic\" | eval y=concat(x,to_upper(\"search\"))) | mv_expand y", "line 1:1: EXPLAIN does not support downstream commands");
3503+
expectError(
3504+
"explain (row x=\"Elastic\" | eval y=concat(x,to_upper(\"search\"))) | mv_expand y",
3505+
"line 1:1: EXPLAIN does not support downstream commands"
3506+
);
35043507
}
35053508

35063509
public void testRerankDefaultInferenceIdAndScoreAttribute() {

0 commit comments

Comments
 (0)