File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/type Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 3434import java .util .function .Function ;
3535
3636import static java .util .stream .Collectors .toMap ;
37- import static org .elasticsearch .TransportVersions .INFERENCE_REQUEST_ADAPTIVE_RATE_LIMITING ;
3837
3938/**
4039 * This enum represents data types the ES|QL query processing layer is able to
@@ -312,10 +311,7 @@ public enum DataType implements Writeable {
312311 AGGREGATE_METRIC_DOUBLE (
313312 builder ().esType ("aggregate_metric_double" )
314313 .estimatedSize (Double .BYTES * 3 + Integer .BYTES )
315- .createdVersion (
316- // Version created just *after* we committed support for aggregate_metric_double
317- INFERENCE_REQUEST_ADAPTIVE_RATE_LIMITING
318- )
314+ .createdVersion (DataTypesTransportVersions .ESQL_AGGREGATE_METRIC_DOUBLE_CREATED_VERSION )
319315 ),
320316
321317 /**
@@ -951,5 +947,9 @@ private static class DataTypesTransportVersions {
951947 public static final TransportVersion ESQL_DENSE_VECTOR_CREATED_VERSION = TransportVersion .fromName (
952948 "esql_dense_vector_created_version"
953949 );
950+
951+ public static final TransportVersion ESQL_AGGREGATE_METRIC_DOUBLE_CREATED_VERSION = TransportVersion .fromName (
952+ "esql_aggregate_metric_double_created_version"
953+ );
954954 }
955955}
You can’t perform that action at this time.
0 commit comments