Skip to content

Commit 34c10f5

Browse files
carlosdelestkderusso
authored andcommitted
Use SORT to push down the EVAL clause, so it's executed on local nodes
1 parent 1ca0b58 commit 34c10f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/plugin/ExtractSnippetsIT.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public void testExtractSnippets() {
3131
var query = """
3232
FROM test
3333
| EVAL x = extract_snippets(content, "fox", 1, 10)
34+
| SORT x
3435
| KEEP x
3536
""";
3637

0 commit comments

Comments
 (0)