File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -208,15 +208,6 @@ tests:
208208 issue : https://github.com/elastic/elasticsearch/issues/116777
209209- class : org.elasticsearch.xpack.searchablesnapshots.hdfs.SecureHdfsSearchableSnapshotsIT
210210 issue : https://github.com/elastic/elasticsearch/issues/116851
211- - class : org.elasticsearch.xpack.esql.analysis.VerifierTests
212- method : testCategorizeWithinAggregations
213- issue : https://github.com/elastic/elasticsearch/issues/116856
214- - class : org.elasticsearch.xpack.esql.analysis.VerifierTests
215- method : testCategorizeSingleGrouping
216- issue : https://github.com/elastic/elasticsearch/issues/116857
217- - class : org.elasticsearch.xpack.esql.analysis.VerifierTests
218- method : testCategorizeNestedGrouping
219- issue : https://github.com/elastic/elasticsearch/issues/116858
220211- class : org.elasticsearch.search.basic.SearchWithRandomIOExceptionsIT
221212 method : testRandomDirectoryIOExceptions
222213 issue : https://github.com/elastic/elasticsearch/issues/114824
Original file line number Diff line number Diff line change @@ -1732,6 +1732,8 @@ public void testIntervalAsString() {
17321732 }
17331733
17341734 public void testCategorizeSingleGrouping () {
1735+ assumeTrue ("requires Categorize capability" , EsqlCapabilities .Cap .CATEGORIZE .isEnabled ());
1736+
17351737 query ("from test | STATS COUNT(*) BY CATEGORIZE(first_name)" );
17361738 query ("from test | STATS COUNT(*) BY cat = CATEGORIZE(first_name)" );
17371739
@@ -1759,6 +1761,8 @@ public void testCategorizeSingleGrouping() {
17591761 }
17601762
17611763 public void testCategorizeNestedGrouping () {
1764+ assumeTrue ("requires Categorize capability" , EsqlCapabilities .Cap .CATEGORIZE .isEnabled ());
1765+
17621766 query ("from test | STATS COUNT(*) BY CATEGORIZE(LENGTH(first_name)::string)" );
17631767
17641768 assertEquals (
@@ -1772,6 +1776,8 @@ public void testCategorizeNestedGrouping() {
17721776 }
17731777
17741778 public void testCategorizeWithinAggregations () {
1779+ assumeTrue ("requires Categorize capability" , EsqlCapabilities .Cap .CATEGORIZE .isEnabled ());
1780+
17751781 query ("from test | STATS MV_COUNT(cat), COUNT(*) BY cat = CATEGORIZE(first_name)" );
17761782
17771783 assertEquals (
You can’t perform that action at this time.
0 commit comments