diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-absent-over-time.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-absent-over-time.csv-spec index a85c153a60f8b..a9e0363050d89 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-absent-over-time.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-absent-over-time.csv-spec @@ -1,6 +1,5 @@ absent_over_time_events_received required_capability: ts_command_v0 -required_capability: absent_over_time TS k8s | WHERE cluster == "prod" AND pod == "two" @@ -23,7 +22,6 @@ false | two | 2024-05-10T00:22:00.000Z absent_over_time_of_long required_capability: ts_command_v0 -required_capability: absent_over_time TS k8s | STATS is_present = max(absent_over_time(network.bytes_in)) BY cluster, time_bucket = tbucket(10minute) | SORT cluster, time_bucket | LIMIT 10; is_present:boolean | cluster:keyword | time_bucket:datetime @@ -40,8 +38,6 @@ false | staging | 2024-05-10T00:20:00.000Z absent_over_time_of_boolean required_capability: ts_command_v0 -required_capability: absent_over_time -required_capability: k8s_dataset_additional_fields TS k8s | STATS is_present = max(absent_over_time(network.eth0.up)) BY cluster, time_bucket = tbucket(10minute) | SORT time_bucket, cluster | LIMIT 10; is_present:boolean | cluster:keyword | time_bucket:datetime @@ -58,8 +54,6 @@ false | staging | 2024-05-10T00:20:00.000Z absent_over_time_of_date_nanos required_capability: ts_command_v0 -required_capability: absent_over_time -required_capability: k8s_dataset_additional_fields TS k8s | STATS is_present = max(absent_over_time(network.eth0.last_up)) BY cluster, time_bucket = tbucket(10minute) | SORT time_bucket, cluster | LIMIT 10; is_present:boolean | cluster:keyword | time_bucket:datetime @@ -76,8 +70,6 @@ false | staging | 2024-05-10T00:20:00.000Z absent_over_time_of_date required_capability: ts_command_v0 -required_capability: absent_over_time -required_capability: k8s_dataset_additional_fields TS k8s | STATS is_present = max(absent_over_time(to_datetime(network.eth0.last_up))) BY cluster, time_bucket = tbucket(10minute) | SORT time_bucket, cluster | LIMIT 10; is_present:boolean | cluster:keyword | time_bucket:datetime @@ -94,8 +86,6 @@ false | staging | 2024-05-10T00:20:00.000Z absent_over_time_of_version required_capability: ts_command_v0 -required_capability: absent_over_time -required_capability: k8s_dataset_additional_fields TS k8s | STATS is_present = max(absent_over_time(network.eth0.firmware_version)) BY cluster, time_bucket = tbucket(10minute) | SORT time_bucket, cluster | LIMIT 10; is_present:boolean | cluster:keyword | time_bucket:datetime @@ -112,8 +102,6 @@ false | staging | 2024-05-10T00:20:00.000Z absent_over_time_of_integer required_capability: ts_command_v0 -required_capability: absent_over_time -required_capability: k8s_dataset_additional_fields TS k8s | STATS is_present = max(absent_over_time(network.eth0.currently_connected_clients)) BY cluster, time_bucket = tbucket(10minute) | SORT time_bucket, cluster | LIMIT 10; is_present:boolean | cluster:keyword | time_bucket:datetime @@ -130,7 +118,6 @@ false | staging | 2024-05-10T00:20:00.000Z absent_over_time_of_text required_capability: ts_command_v0 -required_capability: absent_over_time TS k8s | STATS is_present = max(absent_over_time(event_log)) BY cluster, time_bucket = tbucket(10minute) | SORT cluster, time_bucket | LIMIT 10; is_present:boolean | cluster:keyword | time_bucket:datetime @@ -147,8 +134,6 @@ false | staging | 2024-05-10T00:20:00.000Z absent_over_time_of_keyword required_capability: ts_command_v0 -required_capability: absent_over_time -required_capability: k8s_dataset_additional_fields TS k8s | STATS is_present = max(absent_over_time(network.eth0.tx)) BY cluster, time_bucket = tbucket(10minute) | SORT time_bucket, cluster | LIMIT 10; is_present:boolean | cluster:keyword | time_bucket:datetime @@ -182,8 +167,6 @@ false | staging | 2024-05-09T23:50:00.000Z absent_over_time_of_geopoint required_capability: ts_command_v0 -required_capability: absent_over_time -required_capability: k8s_datasets_geospatial_fields TS k8s | STATS is_present = max(absent_over_time(event_city)) BY cluster, time_bucket = tbucket(10minute) | SORT time_bucket, cluster | LIMIT 10; is_present:boolean | cluster:keyword | time_bucket:datetime @@ -200,8 +183,6 @@ false | staging | 2024-05-10T00:20:00.000Z absent_over_time_of_geoshape required_capability: ts_command_v0 -required_capability: absent_over_time -required_capability: k8s_datasets_geospatial_fields TS k8s | STATS is_present = max(absent_over_time(event_city_boundary)) BY cluster, time_bucket = tbucket(10minute) | SORT time_bucket, cluster | LIMIT 10; is_present:boolean | cluster:keyword | time_bucket:datetime @@ -218,8 +199,6 @@ false | staging | 2024-05-10T00:20:00.000Z absent_over_time_of_shape required_capability: ts_command_v0 -required_capability: absent_over_time -required_capability: k8s_datasets_geospatial_fields TS k8s | STATS is_present = max(absent_over_time(event_shape)) BY cluster, time_bucket = tbucket(10minute) | SORT time_bucket, cluster | LIMIT 10; is_present:boolean | cluster:keyword | time_bucket:datetime @@ -236,8 +215,6 @@ false | staging | 2024-05-10T00:20:00.000Z absent_over_time_of_point required_capability: ts_command_v0 -required_capability: absent_over_time -required_capability: k8s_datasets_geospatial_fields TS k8s | STATS is_present = max(absent_over_time(event_location)) BY cluster, time_bucket = tbucket(10minute) | SORT time_bucket, cluster | LIMIT 10; is_present:boolean | cluster:keyword | time_bucket:datetime @@ -254,7 +231,6 @@ false | staging | 2024-05-10T00:20:00.000Z absent_over_time_with_filtering required_capability: ts_command_v0 -required_capability: absent_over_time TS k8s | WHERE pod != "three" | STATS is_present = max(absent_over_time(network.bytes_in)) BY cluster, time_bucket = tbucket(10 minute) | SORT time_bucket, cluster | LIMIT 10; is_present:boolean | cluster:keyword | time_bucket:datetime @@ -284,7 +260,6 @@ false | three | 2024-05-09T23:40:00.000Z eval_on_absent_over_time required_capability: ts_command_v0 -required_capability: absent_over_time TS k8s | STATS is_present = max(absent_over_time(network.bytes_in)) BY pod, time_bucket = tbucket(10 minute) | EVAL int = to_integer(is_present) | LIMIT 10 | SORT time_bucket, pod; is_present:boolean | pod:keyword | time_bucket:datetime | int:integer @@ -301,7 +276,6 @@ false | two | 2024-05-10T00:20:00.000Z | 0 absent_over_time_events_received_as_integer required_capability: ts_command_v0 -required_capability: absent_over_time TS k8s | WHERE cluster == "prod" AND pod == "two" diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-avg-over-time.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-avg-over-time.csv-spec index d3c0fd2cf6db2..b28dfdae4fd17 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-avg-over-time.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-avg-over-time.csv-spec @@ -19,7 +19,6 @@ cost:double | time_bucket:datetime avg_over_time_of_integer required_capability: ts_command_v0 -required_capability: k8s_dataset_additional_fields TS k8s | STATS clients = avg(avg_over_time(network.eth0.currently_connected_clients)) BY time_bucket = bucket(@timestamp,1minute) | SORT time_bucket | LIMIT 10; clients:double | time_bucket:datetime diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-count-distinct-over-time.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-count-distinct-over-time.csv-spec index 5373f5d5433f0..cad5dc3741544 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-count-distinct-over-time.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-count-distinct-over-time.csv-spec @@ -191,8 +191,6 @@ bytes:long | pod:keyword | time_bucket:datetime | kb:double count_distinct_over_time_multi_values required_capability: ts_command_v0 -required_capability: count_distinct_over_time -required_capability: k8s_dataset_additional_fields TS k8s | WHERE @timestamp < "2024-05-10T00:10:00.000Z" | STATS events = avg(count_distinct_over_time(events_received)) by pod, time_bucket = bucket(@timestamp, 10minute) | SORT time_bucket, pod | LIMIT 10; events:double | pod:keyword | time_bucket:datetime diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-delta.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-delta.csv-spec index 95c0ef447ede5..75b4ae948a593 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-delta.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-delta.csv-spec @@ -26,7 +26,6 @@ null | 2024-05-10T00:01:00.000Z delta_of_integer required_capability: ts_command_v0 required_capability: delta_ts_agg -required_capability: k8s_dataset_additional_fields TS k8s | STATS clients = avg(delta(network.eth0.currently_connected_clients)) BY time_bucket = bucket(@timestamp,1minute) | SORT time_bucket | LIMIT 10; clients:double | time_bucket:datetime @@ -46,7 +45,6 @@ null | 2024-05-10T00:01:00.000Z delta_of_integer_grouping required_capability: ts_command_v0 required_capability: delta_ts_agg -required_capability: k8s_dataset_additional_fields TS k8s | STATS clients = avg(delta(network.eth0.currently_connected_clients)) BY cluster, time_bucket = bucket(@timestamp,1minute) | SORT time_bucket, cluster | LIMIT 10; clients:double | cluster:keyword | time_bucket:datetime @@ -126,7 +124,6 @@ avg_bytes:double | cluster:keyword | time_bucket:datetime | kb_minus_offs delta_multi_values required_capability: ts_command_v0 required_capability: delta_ts_agg -required_capability: k8s_dataset_additional_fields TS k8s | WHERE @timestamp < "2024-05-10T00:10:00.000Z" | STATS events = sum(delta(events_received)) by pod, time_bucket = bucket(@timestamp, 1minute) | SORT events desc, pod, time_bucket | LIMIT 10; events:double | pod:keyword | time_bucket:datetime @@ -146,7 +143,6 @@ null | two | 2024-05-10T00:07:00.000Z delta_null_values required_capability: ts_command_v0 required_capability: delta_ts_agg -required_capability: k8s_dataset_additional_fields TS k8s | WHERE @timestamp > "2024-05-10T00:10:00.000Z" and @timestamp < "2024-05-10T00:15:00.000Z" | STATS events = sum(delta(events_received)) by pod, time_bucket = bucket(@timestamp, 1minute) | SORT events desc, pod, time_bucket | LIMIT 10; events:double | pod:keyword | time_bucket:datetime @@ -167,7 +163,6 @@ null | two | 2024-05-10T00:13:00.000Z delta_all_value_types required_capability: ts_command_v0 required_capability: delta_ts_agg -required_capability: k8s_dataset_additional_fields TS k8s | STATS events = sum(delta(events_received)) by pod, time_bucket = bucket(@timestamp, 10minute) | SORT events desc, pod, time_bucket | LIMIT 10 ; events:double | pod:keyword | time_bucket:datetime diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-idelta.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-idelta.csv-spec index ae2596da2461b..069804c92713e 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-idelta.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-idelta.csv-spec @@ -113,7 +113,6 @@ avg_bytes:double | cluster:keyword | time_bucket:datetime | kb_minus_offs idelta_multi_values required_capability: ts_command_v0 -required_capability: k8s_dataset_additional_fields TS k8s | WHERE @timestamp < "2024-05-10T00:10:00.000Z" | STATS events = sum(idelta(events_received)) by pod, time_bucket = bucket(@timestamp, 1minute) | SORT events desc, pod, time_bucket | LIMIT 10; events:double | pod:keyword | time_bucket:datetime @@ -132,7 +131,6 @@ null | two | 2024-05-10T00:07:00.000Z idelta_null_values required_capability: ts_command_v0 -required_capability: k8s_dataset_additional_fields TS k8s | WHERE @timestamp > "2024-05-10T00:10:00.000Z" and @timestamp < "2024-05-10T00:15:00.000Z" | STATS events = sum(idelta(events_received)) by pod, time_bucket = bucket(@timestamp, 1minute) | SORT events desc, pod, time_bucket | LIMIT 10; events:double | pod:keyword | time_bucket:datetime @@ -152,7 +150,6 @@ null | two | 2024-05-10T00:13:00.000Z idelta_all_value_types required_capability: ts_command_v0 -required_capability: k8s_dataset_additional_fields // tag::idelta[] TS k8s | STATS events = sum(idelta(events_received)) by pod, time_bucket = bucket(@timestamp, 10minute) diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-min-over-time.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-min-over-time.csv-spec index 310ed7c1071a2..4f6baf466a938 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-min-over-time.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-min-over-time.csv-spec @@ -375,7 +375,6 @@ events:long | pod:keyword | time_bucket:datetime min_over_time_null_values required_capability: ts_command_v0 -required_capability: k8s_dataset_additional_fields TS k8s | WHERE @timestamp > "2024-05-10T00:10:00.000Z" and @timestamp < "2024-05-10T00:15:00.000Z" | STATS events = sum(min_over_time(events_received)) by pod, time_bucket = bucket(@timestamp, 1minute) | SORT events NULLS FIRST, time_bucket | LIMIT 10; events:long | pod:keyword | time_bucket:datetime diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-present-over-time.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-present-over-time.csv-spec index c2254fba20e0d..1ec6affc27b8e 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-present-over-time.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-present-over-time.csv-spec @@ -1,6 +1,5 @@ present_over_time_events_received required_capability: ts_command_v0 -required_capability: present_over_time TS k8s | WHERE cluster == "prod" AND pod == "two" @@ -135,8 +134,6 @@ true | staging | 2024-05-10T00:20:00.000Z present_over_time_of_keyword required_capability: ts_command_v0 -required_capability: present_over_time -required_capability: k8s_dataset_additional_fields TS k8s | STATS is_present = max(present_over_time(network.eth0.up)) BY cluster, time_bucket = tbucket(10minute) | SORT time_bucket, cluster | LIMIT 10; is_present:boolean | cluster:keyword | time_bucket:datetime diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries.csv-spec index 66f20720d674d..e9a5bcc8f770a 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries.csv-spec @@ -49,7 +49,6 @@ max_cost: double maxRateAndBytes required_capability: ts_command_v0 -required_capability: implicit_last_over_time TS k8s | STATS max(60 * rate(network.total_bytes_in)), max(network.bytes_in); max(60 * rate(network.total_bytes_in)): double | max(network.bytes_in): long @@ -239,7 +238,6 @@ null | three | 2024-05-10T00:01:00.000 max_over_time required_capability: ts_command_v0 -required_capability: max_over_time // tag::max_over_time[] TS k8s | STATS cost=sum(max_over_time(network.cost)) BY cluster, time_bucket = bucket(@timestamp,1minute) @@ -263,7 +261,6 @@ cost:double | cluster:keyword | time_bucket:datetime min_over_time required_capability: ts_command_v0 -required_capability: min_over_time // tag::min_over_time[] TS k8s | STATS cost=sum(min_over_time(network.cost)) BY cluster, time_bucket = bucket(@timestamp,1minute) @@ -287,7 +284,6 @@ cost:double | cluster:keyword | time_bucket:datetime max_of_avg_over_time required_capability: ts_command_v0 -required_capability: avg_over_time // tag::avg_over_time[] TS k8s | STATS max_cost=max(avg_over_time(network.cost)) BY cluster, time_bucket = bucket(@timestamp,1minute) @@ -311,7 +307,6 @@ max_cost:double | cluster:keyword | time_bucket:datetime avg_of_avg_over_time required_capability: ts_command_v0 -required_capability: avg_over_time TS k8s | STATS avg_cost=avg(avg_over_time(network.cost)) BY cluster, time_bucket = bucket(@timestamp,1minute) | SORT avg_cost DESC, time_bucket DESC, cluster | LIMIT 10; avg_cost:double | cluster:keyword | time_bucket:datetime @@ -330,7 +325,6 @@ avg_cost:double | cluster:keyword | time_bucket:datetime max_of_last_over_time required_capability: ts_command_v0 -required_capability: last_over_time // tag::last_over_time[] TS k8s | STATS max_cost=max(last_over_time(network.cost)) BY cluster, time_bucket = bucket(@timestamp,1minute) @@ -354,7 +348,6 @@ max_cost:double | cluster:keyword | time_bucket:datetime max_of_first_over_time required_capability: ts_command_v0 -required_capability: first_over_time // tag::first_over_time[] TS k8s | STATS max_cost=max(first_over_time(network.cost)) BY cluster, time_bucket = bucket(@timestamp,1minute) @@ -378,7 +371,6 @@ max_cost:double | cluster:keyword | time_bucket:datetime sum_over_time required_capability: ts_command_v0 -required_capability: sum_over_time // tag::sum_over_time[] TS k8s @@ -405,7 +397,6 @@ sum_cost:double | cluster:keyword | time_bucket:datetime count_over_time required_capability: ts_command_v0 -required_capability: count_over_time // tag::count_over_time[] TS k8s @@ -432,7 +423,6 @@ count:long | cluster:keyword | time_bucket:datetime ; count_distinct_over_time required_capability: ts_command_v0 -required_capability: count_distinct_over_time // tag::count_distinct_over_time[] TS k8s @@ -474,7 +464,6 @@ cost_per_mb:double | cluster:keyword | time_bucket:datetime present_over_time required_capability: ts_command_v0 -required_capability: present_over_time // tag::present_over_time[] TS k8s @@ -501,7 +490,6 @@ true | two | 2024-05-10T00:22:00.000Z absent_over_time required_capability: ts_command_v0 -required_capability: absent_over_time // tag::absent_over_time[] TS k8s diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java index 3cfd1deea10d3..843cbf069cd51 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java @@ -932,67 +932,6 @@ public enum Cap { */ QUERY_STRING_FUNCTION_OPTIONS, - /** - * Support for aggregate_metric_double type - */ - @Deprecated - AGGREGATE_METRIC_DOUBLE, - - /** - * Support for partial subset of metrics in aggregate_metric_double type - */ - @Deprecated - AGGREGATE_METRIC_DOUBLE_PARTIAL_SUBMETRICS, - - /** - * Support for rendering aggregate_metric_double type - */ - @Deprecated - AGGREGATE_METRIC_DOUBLE_RENDERING, - - /** - * Support for to_aggregate_metric_double function - */ - @Deprecated - AGGREGATE_METRIC_DOUBLE_CONVERT_TO, - - /** - * Support for sorting when aggregate_metric_doubles are present - */ - @Deprecated - AGGREGATE_METRIC_DOUBLE_SORTING, - - /** - * Support avg with aggregate metric doubles - */ - @Deprecated - AGGREGATE_METRIC_DOUBLE_AVG, - - /** - * Support for implicit casting of aggregate metric double when run in aggregations - */ - @Deprecated - AGGREGATE_METRIC_DOUBLE_IMPLICIT_CASTING_IN_AGGS, - - /** - * Fixes bug when aggregate metric double is encoded as a single nul value but decoded as - * AggregateMetricDoubleBlock (expecting 4 values) in TopN. - */ - @Deprecated - AGGREGATE_METRIC_DOUBLE_SORTING_FIXED, - - /** - * Stop erroring out when trying to apply MV_EXPAND on aggregate metric double. - */ - @Deprecated - AGGREGATE_METRIC_DOUBLE_MV_EXPAND, - - /** - * Registering AggregateMetricDoubleLiteral as a NamedWritable. - */ - @Deprecated - AGGREGATE_METRIC_DOUBLE_LITERAL_REGISTERED, - /** * Enable aggregate_metric_double in non-snapshot builds */ @@ -1122,11 +1061,6 @@ public enum Cap { */ QUERY_MONITORING, - /** - * Support max_over_time aggregation that gets evaluated per time-series - */ - MAX_OVER_TIME(Build.current().isSnapshot()), - /** * Support for FORK out of snapshot */ @@ -1147,11 +1081,6 @@ public enum Cap { */ USAGE_CONTAINS_TOOK, - /** - * Support avg_over_time aggregation that gets evaluated per time-series - */ - AVG_OVER_TIME(Build.current().isSnapshot()), - /** * Support loading of ip fields if they are not indexed. */ @@ -1176,11 +1105,6 @@ public enum Cap { */ DROP_WITH_WILDCARD_AFTER_LOOKUP_JOIN, - /** - * Support last_over_time aggregation that gets evaluated per time-series - */ - LAST_OVER_TIME(Build.current().isSnapshot()), - /** * score function */ @@ -1201,47 +1125,12 @@ public enum Cap { */ TO_LOWER_EMPTY_STRING, - /** - * Support min_over_time aggregation that gets evaluated per time-series - */ - MIN_OVER_TIME(Build.current().isSnapshot()), - - /** - * Support first_over_time aggregation that gets evaluated per time-series - */ - FIRST_OVER_TIME(Build.current().isSnapshot()), - - /** - * Support sum_over_time aggregation that gets evaluated per time-series - */ - SUM_OVER_TIME(Build.current().isSnapshot()), - - /** - * Support count_over_time aggregation that gets evaluated per time-series - */ - COUNT_OVER_TIME(Build.current().isSnapshot()), - - /** - * Support for count_distinct_over_time aggregation that gets evaluated per time-series - */ - COUNT_DISTINCT_OVER_TIME(Build.current().isSnapshot()), - /** * Support for INCREASE, DELTA timeseries aggregations. */ INCREASE, DELTA_TS_AGG, - /** - * Extra field types in the k8s.csv dataset - */ - K8S_DATASET_ADDITIONAL_FIELDS(Build.current().isSnapshot()), - - /** - * Geospatial field types in the k8s.csv and k8s-downsampled.csv datasets - */ - K8S_DATASETS_GEOSPATIAL_FIELDS(Build.current().isSnapshot()), - /** * Resolve groupings before resolving references to groupings in the aggregations. */ @@ -1512,11 +1401,6 @@ public enum Cap { */ ENABLE_FORK_FOR_REMOTE_INDICES(Build.current().isSnapshot()), - /** - * Implicitly applies last_over_time in time-series aggregations when no specific over_time function is provided. - */ - IMPLICIT_LAST_OVER_TIME(Build.current().isSnapshot()), - /** * Support for the Present function */ @@ -1535,11 +1419,6 @@ public enum Cap { */ TO_DENSE_VECTOR_FUNCTION, - /** - * Support present_over_time aggregation that gets evaluated per time-series - */ - PRESENT_OVER_TIME(Build.current().isSnapshot()), - /** * Multivalued query parameters */ @@ -1552,11 +1431,6 @@ public enum Cap { */ FN_ABSENT, - /** - * Support absent_over_time aggregation that gets evaluated per time-series - */ - ABSENT_OVER_TIME(Build.current().isSnapshot()), - /** INLINE STATS supports remote indices */ INLINE_STATS_SUPPORTS_REMOTE(INLINESTATS_V11.enabled), diff --git a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml index 8dcba07b29a15..57d5bb7adb0df 100644 --- a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml +++ b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml @@ -55,13 +55,8 @@ setup: - snapshot_test_for_telemetry_v2 - fn_byte_length - match_function_options - - first_over_time - - sum_over_time - - count_over_time - - count_distinct_over_time + - ts_command_v0 - cosine_vector_similarity_function - - present_over_time - - absent_over_time - inline_stats reason: "Test that should only be executed on snapshot versions"