Skip to content

Commit a28ea52

Browse files
committed
use singular pattern
1 parent fbf9f0d commit a28ea52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3205,7 +3205,7 @@ public void testInvalidJoinPatterns() {
32053205
{
32063206
var fromPatterns = randomIndexPattern();
32073207
// Generate a syntactically invalid (partial quoted) pattern.
3208-
var joinPattern = randomIdentifier() + ":" + quote(randomIndexPatterns(without(CROSS_CLUSTER), without(DATE_MATH)));
3208+
var joinPattern = randomIdentifier() + ":" + quote(randomIndexPattern(without(CROSS_CLUSTER)));
32093209
expectError(
32103210
"FROM " + fromPatterns + " | LOOKUP JOIN " + joinPattern + " ON " + randomIdentifier(),
32113211
// Since the from pattern is partially quoted, we get an error at the beginning of the partially quoted

0 commit comments

Comments
 (0)