Enum Class EsqlCapabilities.Cap
- All Implemented Interfaces:
Serializable,Comparable<EsqlCapabilities.Cap>,Constable
- Enclosing class:
EsqlCapabilities
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFix pushdown of LIMIT past MV_EXPANDSupport for booleans in aggregationsMAXandMIN.Support for ips in aggregationsMAXandMIN.Support for strings in aggregationsMAXandMIN.Support for aggregation functionTOP.Support for booleans inTOPaggregation.Support for ips inTOPaggregation.Support forkeywordandtextfields inTOPaggregation.The introduction of theVALUESagg.Expand theVALUESagg to cover spatial types.Support for WEIGHTED_AVG function.Support for aggregate_metric_double typeDoes ESQL support async queries.Support sending HTTP headers about the status of an async query.Base64 encoding and decoding functions.Consider the upper bound when computing the interval in BUCKET auto mode.Support for the whole number spans in BUCKET function.CASEproperly handling multivalue conditions.Support explicit casting from string literal to DATE_PERIOD or TIME_DURATION.Support for the :: casting operatorSupport for multiple groupings in "CATEGORIZE".Supported the text categorization function "CATEGORIZE".Add CombineBinaryComparisons rule.Support CIDRMatch in CombineDisjunctions rule.Support metrics counter typesCompute year differences in full calendar years.Support add and subtract on date nanossupport aggregations on date nanosSupport for date nanos type in binary comparisonsSupport date nanos values as the field argument to bucketSupport for mixed comparisons between nanosecond and millisecond datessupport date diff function on date nanos type, and mixed nanos/millissupport date extract function for date nanosSupport running date format function on nanosecond datesSupport implicit casting of strings to date nanosSupport theInoperator for date nanosSupport for date nanos in lookup join.Support for nanosecond dates as a data typeDATE_PARSE supports reading timezonesSupport for date_trunc function on date nanos typeWhen we disabled some broken optimizations aroundnullable.Support for quoting index sources in double quotes.Support for keeping `DROP` attributes when resolving field names.Correctly ask for all fields from lookup indices even when there is e.g.Support for loading values over enrich.Enforce strict type checking on ENRICH range types, and warnings for KEYWORD parsing at runtime.Fix the status code returned when trying to run count_distinct on the _source type (which is not supported).When pushing downSTATS count(field::type)for a union type field, we wrongly used a synthetic attribute name in the query instead of the actual field name.Indicates that https://github.com/elastic/elasticsearch/issues/125439 (incorrect lucene push down for date nanos) is fixedFixes a bug where dates are incorrectly formatted if a where clause compares nanoseconds to both milliseconds and nanoseconds, e.g.When creating constant null blocks inValuesSourceReaderOperator, we also handed off the ownership of that block - but didn't account for the fact that the caller might close it, leading to double releases in some union type queries.Fix for an optimization that caused wrong results https://github.com/elastic/elasticsearch/issues/115281During resolution (pre-analysis) we have to consider that joins or enriches can override EVALuated values https://github.com/elastic/elasticsearch/issues/126419During resolution (pre-analysis) we have to consider that joins can override regex extracted values see ES|QL: pruning of JOINs leads to missing fields #127467Support for the mv_expand target attribute should be retained in its original position.Fix for https://github.com/elastic/elasticsearch/issues/117054Fix a parsing issue where numbers below Long.MIN_VALUE threw an exception instead of parsing as doubles.SupercedesMAKE_NUMBER_OF_CHANNELS_CONSISTENT_WITH_LAYOUT.Fix for https://github.com/elastic/elasticsearch/issues/114714Fix for https://github.com/elastic/elasticsearch/issues/114714, againMake attributes of GROK/DISSECT adjustable and fix a shadowing bug when pushing them down past PROJECT.Fix for regex folding with case-insensitive pattern https://github.com/elastic/elasticsearch/issues/118371Don't optimize CASE IS NOT NULL function by not requiring the fields to be not null as well.Support for functionBIT_LENGTH.Support for functionBYTE_LENGTH.Support for functionCBRT.Support for functionHYPOT.Support for functionIP_PREFIX.Support forMV_APPENDfunction.Support forMV_MEDIAN_ABSOLUTE_DEVIATIONfunction.Support forMV_PERCENTILEfunction.Support for functionREVERSE.Support for reversing whole grapheme clusters.Fixes on functionROUNDthat avoid it throwing exceptions on runtime for unsigned long cases.Fix on functionSUBSTRINGthat makes it not return null on empty strings.Deprecated.Full text functions can be used in disjunctionsFull text functions can be used in disjunctions as they are implemented in compute engineFull text functions can be scored when being part of a disjunctionAdding stats for functions (stack telemetry)All functions that take TEXT should never emit TEXT, only KEYWORD.Do validation check on geo_point and geo_shape fields.Fix to GROK and DISSECT that allows extracting attributes with the same name as the input https://github.com/elastic/elasticsearch/issues/110184Fix to GROK validation in case of multiple fields with same name and different types https://github.com/elastic/elasticsearch/issues/110533Hash functionHash function aliases such as MD5Support implicit casting from string literal to DATE_PERIOD or TIME_DURATION.Support specifically for *just* the _index METADATA field.Support for theINLINESTATSsyntax.Support for the expressions in grouping inINLINESTATSsyntax.Fixes a series of issues with inlinestats which had an incomplete implementation after lookup and inlinestats were refactored.Fix pushing down LIMIT past LOOKUP JOIN in case of multiple matching join keys.LOOKUP JOIN without MV matching (https://github.com/elastic/elasticsearch/issues/118780)LOOKUP JOIN without MV matching on lookup index key (https://github.com/elastic/elasticsearch/issues/118780)LOOKUP JOINWIP on Join planning - Introduce BinaryPlan and co - Refactor INLINESTATS and LOOKUP as a JOIN blockAvid GROK and DISSECT attributes being removed when resolving fields.KQL functionSupport Least and Greatest functions on Date Nanos typeSupport for datetime in least and greatest functionsDisabled support for index aliases in lookup joinsLOOKUP JOIN with TEXT fields on the right (right side of the join) (#119473)LOOKUP command with - tables using syntax"tables": {"type": [<values>]}- fixed variable shadowing - fixed Join.references(), requiring breaking change to Join serializationMake numberOfChannels consistent with layout in DefaultLayout by removing duplicated ChannelSet.Additional types for match function and operatorMATCH functionSupport match options in match functionSupport for match operator as a colon.Support for metadata fields.Capability for remote metadata testSupport for requesting the "_ignored" metadata field.Support the "METADATA _score" directive to enable _score column.Support for metrics counter fieldsAllow mixed numeric types in conditional functions - case, greatest and leastAllow mixed numeric types in coalesceBlocks can be labelled withBlock.MvOrdering.SORTED_ASCENDINGfor optimizations.Adds theMV_PSERIES_WEIGHTED_SUMfunction for converting sorted lists of numbers into a bounded score.Introduction ofMV_SORT,MV_SLICE, andMV_ZIP.Support simplified syntax for named parameters for field and function names.Support for named or positional parameters in EsqlQueryRequest.Removing support for theMETAkeyword.Non full text functions do not contribute to scoreThis enables 60_usage.yml "Basic ESQL usage....non-snapshot" version test.Support named argument for function in map format.Allow filter per individual aggregation.FixPER_AGG_FILTERINGgrouped by ordinals.QSTR functionSupport options in the query string function.Use RangeQuery for BinaryComparison on DateTime fields.Fix for https://github.com/elastic/elasticsearch/issues/120817 and https://github.com/elastic/elasticsearch/issues/120803 Support for queries that have multiple SORTs that cannot become TopNExecute `RENAME` operations sequentially from left to right, see ESQL: Align RENAME behavior with EVAL for sequential processing #122250Support for requesting the "REPEAT" command.support for aggregations on semantic_textChange field caps response for semantic_text fields to be reported as textSupport for semantic_text field mappingChanged error messages for fields with conflicting types in different indices.This enables 60_usage.yml "Basic ESQL usage....snapshot" version test.FixSORTwhen the_sourcefield is not a sort key but is being returned.Fix sorting not allowed on _source and counters._source field mapping directives: https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-source-field.htmlSupport for requesting the "SPACE" function.Fix for spatial centroid when no records are found.Support a number of fixes and enhancements to spatial distance pushdown.Enable spatial distance function to support multi-values.Fix determination of CRS types in spatial functions when folding.Changed precision ofgeo_pointandcartesian_pointfields, by loading from source into WKB.Enable spatial predicate functions to support multi-values.Support for loadinggeo_shapeandcartesian_shapefields.Support for spatial aggregationST_CENTROID.Optimization for ST_CENTROID changed some results in cartesian data.Support for spatial aggregationST_CONTAINSandST_WITHIN.Support for spatial aggregationST_DISJOINT.Support for functionST_DISTANCE.Support ST_ENVELOPE function (and related ST_XMIN, etc.).Support for functionST_EXTENT_AGG.Optimization of ST_EXTENT_AGG with doc-values as IntBlock.Support for spatial aggregationST_INTERSECTS.Introduction ofST_XandST_Y.Lucene query pushdown to StartsWith and EndsWith functions.Send warnings on STATS alias collision https://github.com/elastic/elasticsearch/issues/114970Support forSTD_DEVaggregation.Cast string literals to a desired data type.Cast string literals to a desired data type for IN predicate and more types for BinaryComparison.Cast string literals to datetime in addition and subtraction when the other side is a date or time interval.Term functionSupport for timespan units abbreviationsSupport for to_date_nanos functionGuards a bug fix matchingTO_LOWER(f) == "".Support multiple field mappings if appropriate conversion function is used (union types)Fix for union-types when aggregating over an inline conversion with casting operator.Fix for union-types when renaming unrelated columns.Fix for union-types when aggregating over an inline conversion with conversion function.Fix for union-types when some indexes are missing the required field.Fix for widening of short numeric types in union-types.Fix for union-types when sorting a type-casted field.Fix for non-unique attribute names in ROW and logical plans.Support unmapped using the INSIST keyword. -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic EsqlCapabilities.CapReturns the enum constant of this class with the specified name.static EsqlCapabilities.Cap[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MV_SORT
Introduction ofMV_SORT,MV_SLICE, andMV_ZIP. Added in #106095. -
DISABLE_NULLABLE_OPTS
When we disabled some broken optimizations aroundnullable. Fixed in #105691. -
ST_X_Y
Introduction ofST_XandST_Y. Added in #105768. -
SPATIAL_POINTS_FROM_SOURCE
Changed precision ofgeo_pointandcartesian_pointfields, by loading from source into WKB. Done in #103691. -
SPATIAL_SHAPES
Support for loadinggeo_shapeandcartesian_shapefields. Done in #104269. -
GEO_VALIDATION
Do validation check on geo_point and geo_shape fields. Done in #128259. -
ST_CENTROID_AGG
Support for spatial aggregationST_CENTROID. Done in #104269. -
ST_INTERSECTS
Support for spatial aggregationST_INTERSECTS. Done in #104907. -
ST_CONTAINS_WITHIN
Support for spatial aggregationST_CONTAINSandST_WITHIN. Done in #106503. -
ST_DISJOINT
Support for spatial aggregationST_DISJOINT. Done in #107007. -
AGG_VALUES
The introduction of theVALUESagg. -
AGG_VALUES_SPATIAL
Expand theVALUESagg to cover spatial types. -
ASYNC_QUERY
Does ESQL support async queries. -
FROM_OPTIONS
Deprecated.Does ESQL support FROM OPTIONS? -
STRING_LITERAL_AUTO_CASTING
Cast string literals to a desired data type. -
BASE64_DECODE_ENCODE
Base64 encoding and decoding functions. -
CASTING_OPERATOR
Support for the :: casting operator -
MV_ORDERING_SORTED_ASCENDING
Blocks can be labelled withBlock.MvOrdering.SORTED_ASCENDINGfor optimizations. -
METRICS_COUNTER_FIELDS
Support for metrics counter fields -
STRING_LITERAL_AUTO_CASTING_EXTENDED
Cast string literals to a desired data type for IN predicate and more types for BinaryComparison. -
METADATA_FIELDS
Support for metadata fields. -
INDEX_METADATA_FIELD
Support specifically for *just* the _index METADATA field. Used by CsvTests, since that is the only metadata field currently supported. -
TIMESPAN_ABBREVIATIONS
Support for timespan units abbreviations -
COUNTER_TYPES
Support metrics counter types -
FN_BIT_LENGTH
Support for functionBIT_LENGTH. Done in #115792 -
FN_BYTE_LENGTH
Support for functionBYTE_LENGTH. -
FN_REVERSE
Support for functionREVERSE. -
FN_REVERSE_GRAPHEME_CLUSTERS
Support for reversing whole grapheme clusters. This is not supported on JDK versions less than 20 which are not supported in ES 9.0.0+ but this exists to keep the8.xbranch similar to themainbranch. -
FN_CBRT
Support for functionCBRT. Done in #108574. -
FN_HYPOT
Support for functionHYPOT. -
FN_MV_APPEND
Support forMV_APPENDfunction. #107001 -
FN_MV_MEDIAN_ABSOLUTE_DEVIATION
Support forMV_MEDIAN_ABSOLUTE_DEVIATIONfunction. -
FN_MV_PERCENTILE
Support forMV_PERCENTILEfunction. -
FN_IP_PREFIX
Support for functionIP_PREFIX. -
FN_SUBSTRING_EMPTY_NULL
Fix on functionSUBSTRINGthat makes it not return null on empty strings. -
FN_ROUND_UL_FIXES
Fixes on functionROUNDthat avoid it throwing exceptions on runtime for unsigned long cases. -
FUNCTIONS_NEVER_EMIT_TEXT
All functions that take TEXT should never emit TEXT, only KEYWORD. #114334 -
INLINESTATS
Support for theINLINESTATSsyntax. -
INLINESTATS_V2
Support for the expressions in grouping inINLINESTATSsyntax. -
AGG_TOP
Support for aggregation functionTOP. -
AGG_MAX_MIN_BOOLEAN_SUPPORT
Support for booleans in aggregationsMAXandMIN. -
AGG_MAX_MIN_IP_SUPPORT
Support for ips in aggregationsMAXandMIN. -
AGG_MAX_MIN_STRING_SUPPORT
Support for strings in aggregationsMAXandMIN. -
AGG_TOP_BOOLEAN_SUPPORT
Support for booleans inTOPaggregation. -
AGG_TOP_IP_SUPPORT
Support for ips inTOPaggregation. -
AGG_TOP_STRING_SUPPORT
Support forkeywordandtextfields inTOPaggregation. -
CASE_MV
CASEproperly handling multivalue conditions. -
ENRICH_LOAD
Support for loading values over enrich. This is supported by all versions of ESQL but not the unit test CsvTests. -
ST_CENTROID_AGG_OPTIMIZED
Optimization for ST_CENTROID changed some results in cartesian data. #108713 -
METADATA_IGNORED_FIELD
Support for requesting the "_ignored" metadata field. -
LOOKUP_V4
LOOKUP command with - tables using syntax"tables": {"type": [<values>]}- fixed variable shadowing - fixed Join.references(), requiring breaking change to Join serialization -
REPEAT
Support for requesting the "REPEAT" command. -
STRING_LITERAL_AUTO_CASTING_TO_DATETIME_ADD_SUB
Cast string literals to datetime in addition and subtraction when the other side is a date or time interval. -
NAMED_POSITIONAL_PARAMETER
Support for named or positional parameters in EsqlQueryRequest. -
UNION_TYPES
Support multiple field mappings if appropriate conversion function is used (union types) -
UNMAPPED_FIELDS
Support unmapped using the INSIST keyword. -
ST_DISTANCE
Support for functionST_DISTANCE. Done in #108764. -
ST_EXTENT_AGG
Support for functionST_EXTENT_AGG. -
ST_EXTENT_AGG_DOCVALUES
Optimization of ST_EXTENT_AGG with doc-values as IntBlock. -
SPATIAL_FUNCTIONS_FIX_CRSTYPE_FOLDING
Fix determination of CRS types in spatial functions when folding. -
SPATIAL_PREDICATES_SUPPORT_MULTIVALUES
Enable spatial predicate functions to support multi-values. Done in #112063. -
SPATIAL_DISTANCE_SUPPORTS_MULTIVALUES
Enable spatial distance function to support multi-values. Done in #114836. -
SPATIAL_DISTANCE_PUSHDOWN_ENHANCEMENTS
Support a number of fixes and enhancements to spatial distance pushdown. Done in #112938. -
SPATIAL_CENTROID_NO_RECORDS
Fix for spatial centroid when no records are found. -
ST_ENVELOPE
Support ST_ENVELOPE function (and related ST_XMIN, etc.). -
GROK_DISSECT_MASKING
Fix to GROK and DISSECT that allows extracting attributes with the same name as the input https://github.com/elastic/elasticsearch/issues/110184 -
DOUBLE_QUOTES_SOURCE_ENCLOSING
Support for quoting index sources in double quotes. -
AGG_WEIGHTED_AVG
Support for WEIGHTED_AVG function. -
UNION_TYPES_AGG_CAST
Fix for union-types when aggregating over an inline conversion with casting operator. Done in #110476. -
FIX_COUNT_PUSHDOWN_FOR_UNION_TYPES
When pushing downSTATS count(field::type)for a union type field, we wrongly used a synthetic attribute name in the query instead of the actual field name. This led to 0 counts instead of the correct result. -
GROK_VALIDATION
Fix to GROK validation in case of multiple fields with same name and different types https://github.com/elastic/elasticsearch/issues/110533 -
UNION_TYPES_INLINE_FIX
Fix for union-types when aggregating over an inline conversion with conversion function. Done in #110652. -
UNION_TYPES_REMOVE_FIELDS
Fix for union-types when sorting a type-casted field. We changed how we remove synthetic union-types fields. -
UNION_TYPES_FIX_RENAME_RESOLUTION
Fix for union-types when renaming unrelated columns. https://github.com/elastic/elasticsearch/issues/111452 -
RENAME_SEQUENTIAL_PROCESSING
Execute `RENAME` operations sequentially from left to right, see ESQL: Align RENAME behavior with EVAL for sequential processing #122250 -
UNION_TYPES_MISSING_FIELD
Fix for union-types when some indexes are missing the required field. Done in #111932. -
UNION_TYPES_NUMERIC_WIDENING
Fix for widening of short numeric types in union-types. Done in #112610 -
FIX_PARSING_LARGE_NEGATIVE_NUMBERS
Fix a parsing issue where numbers below Long.MIN_VALUE threw an exception instead of parsing as doubles. see Parsing large numbers is inconsistent #104323 -
FIX_COUNT_DISTINCT_SOURCE_ERROR
Fix the status code returned when trying to run count_distinct on the _source type (which is not supported). see count_distinct(_source) returns a 500 response -
RANGEQUERY_FOR_DATETIME
Use RangeQuery for BinaryComparison on DateTime fields. -
ENRICH_STRICT_RANGE_TYPES
Enforce strict type checking on ENRICH range types, and warnings for KEYWORD parsing at runtime. Done in #115091. -
UNIQUE_NAMES
Fix for non-unique attribute names in ROW and logical plans. https://github.com/elastic/elasticsearch/issues/110541 -
FIXED_PUSHDOWN_PAST_PROJECT
Make attributes of GROK/DISSECT adjustable and fix a shadowing bug when pushing them down past PROJECT. https://github.com/elastic/elasticsearch/issues/108008 -
MV_PSERIES_WEIGHTED_SUM
Adds theMV_PSERIES_WEIGHTED_SUMfunction for converting sorted lists of numbers into a bounded score. This is a generalization of the riemann zeta function but we don't name it that because we don't support complex numbers and don't want to make folks think of mystical number theory things. This is just a weighted sum that is adjacent to magic. -
MATCH_OPERATOR_COLON
Support for match operator as a colon. Previous support for match operator as MATCH has been removed -
NO_META
Removing support for theMETAkeyword. -
COMBINE_BINARY_COMPARISONS
Add CombineBinaryComparisons rule. -
DATE_NANOS_TYPE
Support for nanosecond dates as a data type -
TO_DATE_NANOS
Support for to_date_nanos function -
DATE_NANOS_BINARY_COMPARISON
Support for date nanos type in binary comparisons -
DATE_NANOS_COMPARE_TO_MILLIS
Support for mixed comparisons between nanosecond and millisecond dates -
DATE_NANOS_IMPLICIT_CASTING
Support implicit casting of strings to date nanos -
LEAST_GREATEST_FOR_DATENANOS
Support Least and Greatest functions on Date Nanos type -
DATE_NANOS_DATE_EXTRACT
support date extract function for date nanos -
DATE_NANOS_ADD_SUBTRACT
Support add and subtract on date nanos -
DATE_TRUNC_DATE_NANOS
Support for date_trunc function on date nanos type -
DATE_NANOS_BUCKET
Support date nanos values as the field argument to bucket -
DATE_NANOS_AGGREGATIONS
support aggregations on date nanos -
DATE_NANOS_IN_OPERATOR
Support theInoperator for date nanos -
DATE_NANOS_DATE_FORMAT
Support running date format function on nanosecond dates -
DATE_NANOS_DATE_DIFF
support date diff function on date nanos type, and mixed nanos/millis -
FIX_DATE_NANOS_LUCENE_PUSHDOWN_BUG
Indicates that https://github.com/elastic/elasticsearch/issues/125439 (incorrect lucene push down for date nanos) is fixed -
FIX_DATE_NANOS_MIXED_RANGE_PUSHDOWN_BUG
Fixes a bug where dates are incorrectly formatted if a where clause compares nanoseconds to both milliseconds and nanoseconds, e.g.WHERE millis > to_datenanos("2023-10-23T12:15:03.360103847") AND millis < to_datetime("2023-10-23T13:53:55.832") -
DATE_NANOS_LOOKUP_JOIN
Support for date nanos in lookup join. Done in #127962 -
DATE_PARSE_TZ
DATE_PARSE supports reading timezones -
LEAST_GREATEST_FOR_DATES
Support for datetime in least and greatest functions -
COMBINE_DISJUNCTIVE_CIDRMATCHES
Support CIDRMatch in CombineDisjunctions rule. -
ASYNC_QUERY_STATUS_HEADERS
Support sending HTTP headers about the status of an async query. -
BUCKET_INCLUSIVE_UPPER_BOUND
Consider the upper bound when computing the interval in BUCKET auto mode. -
SHORT_ERROR_MESSAGES_FOR_UNSUPPORTED_FIELDS
Changed error messages for fields with conflicting types in different indices. -
BUCKET_WHOLE_NUMBER_AS_SPAN
Support for the whole number spans in BUCKET function. -
MIXED_NUMERIC_TYPES_IN_COALESCE
Allow mixed numeric types in coalesce -
SPACE
Support for requesting the "SPACE" function. -
CAST_STRING_LITERAL_TO_TEMPORAL_AMOUNT
Support explicit casting from string literal to DATE_PERIOD or TIME_DURATION. -
CATEGORIZE_V5
Supported the text categorization function "CATEGORIZE". -
CATEGORIZE_MULTIPLE_GROUPINGS
Support for multiple groupings in "CATEGORIZE". -
QSTR_FUNCTION
QSTR function -
MATCH_FUNCTION
MATCH function -
KQL_FUNCTION
KQL function -
HASH_FUNCTION
Hash function -
HASH_FUNCTION_ALIASES_V1
Hash function aliases such as MD5 -
FIXED_WRONG_IS_NOT_NULL_CHECK_ON_CASE
Don't optimize CASE IS NOT NULL function by not requiring the fields to be not null as well. https://github.com/elastic/elasticsearch/issues/112704 -
DATE_DIFF_YEAR_CALENDARIAL
Compute year differences in full calendar years. -
SORTING_ON_SOURCE_AND_COUNTERS_FORBIDDEN
Fix sorting not allowed on _source and counters. -
SORT_RETURNING_SOURCE_OK
FixSORTwhen the_sourcefield is not a sort key but is being returned. -
SOURCE_FIELD_MAPPING
_source field mapping directives: https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-source-field.html -
PER_AGG_FILTERING
Allow filter per individual aggregation. -
PER_AGG_FILTERING_ORDS
FixPER_AGG_FILTERINGgrouped by ordinals. -
STD_DEV
Support forSTD_DEVaggregation. -
FIX_STATS_BY_FOLDABLE_EXPRESSION
Fix for https://github.com/elastic/elasticsearch/issues/114714 -
FUNCTION_STATS
Adding stats for functions (stack telemetry) -
SEMANTIC_TEXT_TYPE
Support for semantic_text field mapping -
FIX_FILTER_PUSHDOWN_PAST_STATS
Fix for an optimization that caused wrong results https://github.com/elastic/elasticsearch/issues/115281 -
STATS_ALIAS_COLLISION_WARNINGS
Send warnings on STATS alias collision https://github.com/elastic/elasticsearch/issues/114970 -
SNAPSHOT_TEST_FOR_TELEMETRY
This enables 60_usage.yml "Basic ESQL usage....snapshot" version test. See also the next capability. -
NON_SNAPSHOT_TEST_FOR_TELEMETRY
This enables 60_usage.yml "Basic ESQL usage....non-snapshot" version test. See also the previous capability. -
NAMED_PARAMETER_FOR_FIELD_AND_FUNCTION_NAMES_SIMPLIFIED_SYNTAX
public static final EsqlCapabilities.Cap NAMED_PARAMETER_FOR_FIELD_AND_FUNCTION_NAMES_SIMPLIFIED_SYNTAXSupport simplified syntax for named parameters for field and function names. -
ADD_LIMIT_INSIDE_MV_EXPAND
Fix pushdown of LIMIT past MV_EXPAND -
DELAY_DEBUG_FN
-
METADATA_FIELDS_REMOTE_TEST
Capability for remote metadata test -
JOIN_PLANNING_V1
WIP on Join planning - Introduce BinaryPlan and co - Refactor INLINESTATS and LOOKUP as a JOIN block -
IMPLICIT_CASTING_STRING_LITERAL_TO_TEMPORAL_AMOUNT
Support implicit casting from string literal to DATE_PERIOD or TIME_DURATION. -
JOIN_LOOKUP_V12
LOOKUP JOIN -
LOOKUP_JOIN_TEXT
LOOKUP JOIN with TEXT fields on the right (right side of the join) (#119473) -
JOIN_LOOKUP_SKIP_MV
LOOKUP JOIN without MV matching (https://github.com/elastic/elasticsearch/issues/118780) -
JOIN_LOOKUP_SKIP_MV_ON_LOOKUP_KEY
LOOKUP JOIN without MV matching on lookup index key (https://github.com/elastic/elasticsearch/issues/118780) -
JOIN_LOOKUP_FIX_LIMIT_PUSHDOWN
Fix pushing down LIMIT past LOOKUP JOIN in case of multiple matching join keys. -
FIX_NESTED_FIELDS_NAME_CLASH_IN_INDEXRESOLVER
Fix for https://github.com/elastic/elasticsearch/issues/117054 -
SEMANTIC_TEXT_AGGREGATIONS
support for aggregations on semantic_text -
FIX_STATS_BY_FOLDABLE_EXPRESSION_2
Fix for https://github.com/elastic/elasticsearch/issues/114714, again -
METADATA_SCORE
Support the "METADATA _score" directive to enable _score column. -
TERM_FUNCTION
Term function -
MATCH_ADDITIONAL_TYPES
Additional types for match function and operator -
FIXED_REGEX_FOLD
Fix for regex folding with case-insensitive pattern https://github.com/elastic/elasticsearch/issues/118371 -
FULL_TEXT_FUNCTIONS_DISJUNCTIONS
Full text functions can be used in disjunctions -
SEMANTIC_TEXT_FIELD_CAPS
Change field caps response for semantic_text fields to be reported as text -
OPTIONAL_NAMED_ARGUMENT_MAP_FOR_FUNCTION
Support named argument for function in map format. -
LOOKUP_JOIN_NO_ALIASES
Disabled support for index aliases in lookup joins -
FULL_TEXT_FUNCTIONS_DISJUNCTIONS_COMPUTE_ENGINE
Full text functions can be used in disjunctions as they are implemented in compute engine -
MATCH_FUNCTION_OPTIONS
Support match options in match function -
QUERY_STRING_FUNCTION_OPTIONS
Support options in the query string function. -
AGGREGATE_METRIC_DOUBLE
Support for aggregate_metric_double type -
REMOVE_REDUNDANT_SORT
Fix for https://github.com/elastic/elasticsearch/issues/120817 and https://github.com/elastic/elasticsearch/issues/120803 Support for queries that have multiple SORTs that cannot become TopN -
INLINESTATS_V7
Fixes a series of issues with inlinestats which had an incomplete implementation after lookup and inlinestats were refactored. -
MIXED_NUMERIC_TYPES_IN_CASE_GREATEST_LEAST
Allow mixed numeric types in conditional functions - case, greatest and least -
STARTS_WITH_ENDS_WITH_LUCENE_PUSHDOWN
Lucene query pushdown to StartsWith and EndsWith functions. This capability was created to avoid receiving wrong warnings from old nodes in mixed clusters -
FULL_TEXT_FUNCTIONS_DISJUNCTIONS_SCORE
Full text functions can be scored when being part of a disjunction -
NON_FULL_TEXT_FUNCTIONS_SCORING
Non full text functions do not contribute to score -
MAKE_NUMBER_OF_CHANNELS_CONSISTENT_WITH_LAYOUT
Make numberOfChannels consistent with layout in DefaultLayout by removing duplicated ChannelSet. -
FIX_REPLACE_MISSING_FIELD_WITH_NULL_DUPLICATE_NAME_ID_IN_LAYOUT
public static final EsqlCapabilities.Cap FIX_REPLACE_MISSING_FIELD_WITH_NULL_DUPLICATE_NAME_ID_IN_LAYOUTSupercedesMAKE_NUMBER_OF_CHANNELS_CONSISTENT_WITH_LAYOUT. -
FIX_DOUBLY_RELEASED_NULL_BLOCKS_IN_VALUESOURCEREADER
When creating constant null blocks inValuesSourceReaderOperator, we also handed off the ownership of that block - but didn't account for the fact that the caller might close it, leading to double releases in some union type queries. C.f. https://github.com/elastic/elasticsearch/issues/125850 -
FIX_JOIN_MASKING_EVAL
During resolution (pre-analysis) we have to consider that joins or enriches can override EVALuated values https://github.com/elastic/elasticsearch/issues/126419 -
DROP_AGAIN_WITH_WILDCARD_AFTER_EVAL
Support for keeping `DROP` attributes when resolving field names. see ES|QL: no matches for pattern #126418 -
DROP_WITH_WILDCARD_AFTER_LOOKUP_JOIN
Correctly ask for all fields from lookup indices even when there is e.g. aDROP *fieldafter. See ES|QL: missing columns for wildcard drop after lookup join #129561 -
FIX_JOIN_MASKING_REGEX_EXTRACT
During resolution (pre-analysis) we have to consider that joins can override regex extracted values see ES|QL: pruning of JOINs leads to missing fields #127467 -
KEEP_REGEX_EXTRACT_ATTRIBUTES
Avid GROK and DISSECT attributes being removed when resolving fields. see ES|QL: Grok only supports KEYWORD or TEXT values, found expression [type] type [INTEGER] #127468 -
TO_LOWER_EMPTY_STRING
Guards a bug fix matchingTO_LOWER(f) == "". -
FIX_MV_EXPAND_INCONSISTENT_COLUMN_ORDER
Support for the mv_expand target attribute should be retained in its original position. see ES|QL: inconsistent column order #129000
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isEnabled
public boolean isEnabled() -
capabilityName
-