File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/physical/local Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -436,9 +436,6 @@ tests:
436436- class : org.elasticsearch.xpack.esql.qa.single_node.GenerativeForkIT
437437 method : test {csv-spec:inlinestats.MvMinMvExpand}
438438 issue : https://github.com/elastic/elasticsearch/issues/137679
439- - class : org.elasticsearch.xpack.esql.optimizer.rules.physical.local.SubstituteRoundToTests
440- method : testSubqueryWithCountStarAndDateTrunc {default}
441- issue : https://github.com/elastic/elasticsearch/issues/138601
442439- class : org.elasticsearch.xpack.ilm.TimeSeriesLifecycleActionsIT
443440 method : testWaitForSnapshot
444441 issue : https://github.com/elastic/elasticsearch/issues/138669
Original file line number Diff line number Diff line change 1616import org .elasticsearch .index .query .QueryBuilder ;
1717import org .elasticsearch .index .query .RangeQueryBuilder ;
1818import org .elasticsearch .xpack .esql .EsqlTestUtils ;
19+ import org .elasticsearch .xpack .esql .action .EsqlCapabilities ;
1920import org .elasticsearch .xpack .esql .core .expression .Alias ;
2021import org .elasticsearch .xpack .esql .core .expression .Attribute ;
2122import org .elasticsearch .xpack .esql .core .expression .Expression ;
@@ -859,6 +860,7 @@ public void testForkWithStatsCountStarDateTrunc() {
859860 }
860861
861862 public void testSubqueryWithCountStarAndDateTrunc () {
863+ assumeTrue ("requires subqueries in from" , EsqlCapabilities .Cap .SUBQUERY_IN_FROM_COMMAND .isEnabled ());
862864 String query = """
863865 from test, (from test | stats cnt = count(*) by x = date_trunc(1 day, date))
864866 | keep x, cnt, date
You can’t perform that action at this time.
0 commit comments