From 1072e0f0e51e8657438b2df5b9ded5a4e2a841f9 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Thu, 4 Sep 2025 11:44:12 -0400 Subject: [PATCH] ESQL: More docs for `DataType#UNDER_CONSTRUCTION` Adds more explanation for the `DataType#UNDER_CONSTRUCTION`. --- .../xpack/esql/core/type/DataType.java | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/type/DataType.java b/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/type/DataType.java index 6a54a038627a7..3c36884874454 100644 --- a/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/type/DataType.java +++ b/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/type/DataType.java @@ -313,10 +313,21 @@ public enum DataType { DENSE_VECTOR(builder().esType("dense_vector").unknownSize()); /** - * Types that are actively being built. These types are not returned - * from Elasticsearch if their associated {@link FeatureFlag} is disabled. - * They aren't included in generated documentation. And the tests don't - * check that sending them to a function produces a sane error message. + * Types that are actively being built. These types are + * */ public static final Map UNDER_CONSTRUCTION = Map.ofEntries( Map.entry(AGGREGATE_METRIC_DOUBLE, EsqlCorePlugin.AGGREGATE_METRIC_DOUBLE_FEATURE_FLAG),