Skip to content

Commit a7b2b07

Browse files
authored
Unmute and fix exponential_histogram.LoadFiltered CSV test (#137819)
1 parent bf25a98 commit a7b2b07

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,6 @@ tests:
445445
- class: org.elasticsearch.xpack.inference.action.filter.ShardBulkInferenceActionFilterBasicLicenseIT
446446
method: testLicenseInvalidForInference {p0=false}
447447
issue: https://github.com/elastic/elasticsearch/issues/137691
448-
- class: org.elasticsearch.xpack.esql.qa.mixed.MixedClusterEsqlSpecIT
449-
method: test {csv-spec:exponential_histogram.LoadFiltered}
450-
issue: https://github.com/elastic/elasticsearch/issues/137727
451448
- class: org.elasticsearch.xpack.inference.InferenceRestIT
452449
method: test {p0=inference/70_text_similarity_rank_retriever/Text similarity reranker with min_score zero includes all docs}
453450
issue: https://github.com/elastic/elasticsearch/issues/137732

x-pack/plugin/esql/qa/testFixtures/src/main/resources/exponential_histogram.csv-spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
loadFiltered
2-
required_capability: exponential_histogram
2+
required_capability: exponential_histogram_topn
33

44
FROM exp_histo_sample | WHERE STARTS_WITH(instance, "dummy") | SORT instance | KEEP instance, responseTime
55
;

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,6 +1547,11 @@ public enum Cap {
15471547
*/
15481548
EXPONENTIAL_HISTOGRAM(EXPONENTIAL_HISTOGRAM_FEATURE_FLAG),
15491549

1550+
/**
1551+
* Support for exponential_histogram type in TOPN
1552+
*/
1553+
EXPONENTIAL_HISTOGRAM_TOPN(EXPONENTIAL_HISTOGRAM_FEATURE_FLAG),
1554+
15501555
/**
15511556
* Create new block when filtering OrdinalBytesRefBlock
15521557
*/

0 commit comments

Comments
 (0)