Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
import java.util.Locale;
import java.util.Set;

import static org.elasticsearch.xpack.esql.core.plugin.EsqlCorePlugin.AGGREGATE_METRIC_DOUBLE_FEATURE_FLAG;

/**
* A {@link Set} of "capabilities" supported by the {@link RestEsqlQueryAction}
* and {@link RestEsqlAsyncQueryAction} APIs. These are exposed over the
Expand Down Expand Up @@ -784,7 +786,7 @@ public enum Cap {
/**
* Support for aggregate_metric_double type
*/
AGGREGATE_METRIC_DOUBLE;
AGGREGATE_METRIC_DOUBLE(AGGREGATE_METRIC_DOUBLE_FEATURE_FLAG.isEnabled());

private final boolean enabled;

Expand Down