[ES|QL] report all accepted types during parameter validation #183683
Labels
Feature:ES|QL
ES|QL related features in Kibana
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
Team:ESQL
ES|QL related features in Kibana
Describe the feature:
We only report one type possibility in arg-type validation error messages even if more than one type is acceptable.
For example,
Argument of [st_y] must be [cartesian_point], found value ["a"] type [string]
But, actually,
st_y
accepts a parameter of typecartesian_point
orgeo_point
.Instead, it would be better to report all accepted types:
Argument of [st_y] must be [cartesian_point, geo_point], found value ["a"] type [string]
The text was updated successfully, but these errors were encountered: