File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments