File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -384,6 +384,12 @@ public enum Cap {
384384 */
385385 UNION_TYPES_AGG_CAST ,
386386
387+ /**
388+ * When pushing down {@code STATS count(field::type)} for a union type field, we wrongly used a synthetic attribute name in the
389+ * query instead of the actual field name. This led to 0 counts instead of the correct result.
390+ */
391+ FIX_COUNT_PUSHDOWN_FOR_UNION_TYPES ,
392+
387393 /**
388394 * Fix to GROK validation in case of multiple fields with same name and different types
389395 * https://github.com/elastic/elasticsearch/issues/110533
@@ -1038,13 +1044,7 @@ public enum Cap {
10381044 /**
10391045 * Support for the SAMPLE command
10401046 */
1041- SAMPLE (Build .current ().isSnapshot ()),
1042-
1043- /**
1044- * When pushing down {@code STATS count(field::type)} for a union type field, we wrongly used a synthetic attribute name in the
1045- * query instead of the actual field name. This led to 0 counts instead of the correct result.
1046- */
1047- FIX_COUNT_PUSHDOWN_FOR_UNION_TYPES ;
1047+ SAMPLE (Build .current ().isSnapshot ());
10481048
10491049 private final boolean enabled ;
10501050
You can’t perform that action at this time.
0 commit comments