We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ad3f68 commit 8c80320Copy full SHA for 8c80320
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java
@@ -20,6 +20,8 @@
20
import java.util.Locale;
21
import java.util.Set;
22
23
+import static org.elasticsearch.xpack.esql.core.plugin.EsqlCorePlugin.AGGREGATE_METRIC_DOUBLE_FEATURE_FLAG;
24
+
25
/**
26
* A {@link Set} of "capabilities" supported by the {@link RestEsqlQueryAction}
27
* and {@link RestEsqlAsyncQueryAction} APIs. These are exposed over the
@@ -784,7 +786,7 @@ public enum Cap {
784
786
785
787
* Support for aggregate_metric_double type
788
*/
- AGGREGATE_METRIC_DOUBLE;
789
+ AGGREGATE_METRIC_DOUBLE(AGGREGATE_METRIC_DOUBLE_FEATURE_FLAG.isEnabled());
790
791
private final boolean enabled;
792
0 commit comments