-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Closed
Labels
:Analytics/ES|QLAKA ESQLAKA ESQL>bugTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)
Description
Elasticsearch Version
main
Installed Plugins
No response
Java Version
bundled
OS Version
n/a
Problem Description
In the definitions for Kibana, BUCKET reports the 3rd and 4th parameters as optional for signatures in which they are actually required.
For example, this one
{
"params" : [
{
"name" : "field",
"type" : "date",
"optional" : false,
"description" : "Numeric or date expression from which to derive buckets."
},
{
"name" : "buckets",
"type" : "integer",
"optional" : false,
"description" : "Target number of buckets, or desired bucket size if `from` and `to` parameters are omitted."
},
{
"name" : "from",
"type" : "date",
"optional" : true,
"description" : "Start of the range. Can be a number, a date or a date expressed as a string."
},
{
"name" : "to",
"type" : "keyword",
"optional" : true,
"description" : "End of the range. Can be a number, a date or a date expressed as a string."
}
],
"variadic" : false,
"returnType" : "date"
},
This leads to the client-side validation not reporting errors for certain incorrect calls to BUCKET
Steps to Reproduce
Look at the file :)
Logs (if relevant)
No response
Metadata
Metadata
Assignees
Labels
:Analytics/ES|QLAKA ESQLAKA ESQL>bugTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)