Skip to content

Commit e0407f8

Browse files
committed
adjust one test
1 parent dac7465 commit e0407f8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/OptimizerVerificationTests.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,15 +435,16 @@ public void testDanglingOrderByInInlineStats() {
435435
var err = error("""
436436
FROM test
437437
| SORT languages
438+
| MV_EXPAND languages
438439
| INLINE STATS count(*) BY languages
439440
| INLINE STATS s = sum(salary) BY first_name
440441
""", analyzer);
441442

442443
assertThat(err, is("""
443444
2:3: Unbounded SORT not supported yet [SORT languages] please add a LIMIT
444-
line 3:3: INLINE STATS [INLINE STATS count(*) BY languages] cannot yet have an unbounded SORT [SORT languages] before\
445+
line 4:3: INLINE STATS [INLINE STATS count(*) BY languages] cannot yet have an unbounded SORT [SORT languages] before\
445446
it : either move the SORT after it, or add a LIMIT before the SORT
446-
line 4:3: INLINE STATS [INLINE STATS s = sum(salary) BY first_name] cannot yet have an unbounded SORT [SORT languages]\
447+
line 5:3: INLINE STATS [INLINE STATS s = sum(salary) BY first_name] cannot yet have an unbounded SORT [SORT languages]\
447448
before it : either move the SORT after it, or add a LIMIT before the SORT"""));
448449
}
449450
}

0 commit comments

Comments
 (0)