Skip to content

Commit 20f44c3

Browse files
authored
Histogram standard mode csv tests (elastic#139773)
In this PR: - expand the histogram sample data by including the data from the t-digest sample index, reformatted for the histogram field - replicate the standard mode tests from the t-digest into the histogram csv tests, with the addition of casting the histogram to a t-digest - merge the development capabilities for histogram type down to a single capability (I've tagged it with test-release to get some confidence this was done correctly)
1 parent e7f5b1f commit 20f44c3

File tree

5 files changed

+491
-15
lines changed

5 files changed

+491
-15
lines changed

x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/EsqlSpecTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ protected boolean supportsTDigestField() {
321321
}
322322

323323
protected boolean supportsHistogramDataType() {
324-
return RestEsqlTestCase.hasCapabilities(client(), List.of(EsqlCapabilities.Cap.HISTOGRAM_FIELD_SUPPORT_V0.capabilityName()));
324+
return RestEsqlTestCase.hasCapabilities(client(), List.of(EsqlCapabilities.Cap.HISTOGRAM_RELEASE_VERSION.capabilityName()));
325325
}
326326

327327
protected boolean supportsBFloat16ElementType() {

0 commit comments

Comments
 (0)