File tree 2 files changed +6
-9
lines changed
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -208,15 +208,6 @@ tests:
208
208
issue : https://github.com/elastic/elasticsearch/issues/116777
209
209
- class : org.elasticsearch.xpack.searchablesnapshots.hdfs.SecureHdfsSearchableSnapshotsIT
210
210
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
220
211
- class : org.elasticsearch.search.basic.SearchWithRandomIOExceptionsIT
221
212
method : testRandomDirectoryIOExceptions
222
213
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() {
1732
1732
}
1733
1733
1734
1734
public void testCategorizeSingleGrouping () {
1735
+ assumeTrue ("requires Categorize capability" , EsqlCapabilities .Cap .CATEGORIZE .isEnabled ());
1736
+
1735
1737
query ("from test | STATS COUNT(*) BY CATEGORIZE(first_name)" );
1736
1738
query ("from test | STATS COUNT(*) BY cat = CATEGORIZE(first_name)" );
1737
1739
@@ -1759,6 +1761,8 @@ public void testCategorizeSingleGrouping() {
1759
1761
}
1760
1762
1761
1763
public void testCategorizeNestedGrouping () {
1764
+ assumeTrue ("requires Categorize capability" , EsqlCapabilities .Cap .CATEGORIZE .isEnabled ());
1765
+
1762
1766
query ("from test | STATS COUNT(*) BY CATEGORIZE(LENGTH(first_name)::string)" );
1763
1767
1764
1768
assertEquals (
@@ -1772,6 +1776,8 @@ public void testCategorizeNestedGrouping() {
1772
1776
}
1773
1777
1774
1778
public void testCategorizeWithinAggregations () {
1779
+ assumeTrue ("requires Categorize capability" , EsqlCapabilities .Cap .CATEGORIZE .isEnabled ());
1780
+
1775
1781
query ("from test | STATS MV_COUNT(cat), COUNT(*) BY cat = CATEGORIZE(first_name)" );
1776
1782
1777
1783
assertEquals (
You can’t perform that action at this time.
0 commit comments