Skip to content

Commit

Permalink
[8.x] [ES|QL] Update function metadata (elastic#212841) (elastic#212844)
Browse files Browse the repository at this point in the history
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ES|QL] Update function metadata
(elastic#212841)](elastic#212841)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Kibana
Machine","email":"42973632+kibanamachine@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-03-03T07:23:20Z","message":"[ES|QL]
Update function metadata (elastic#212841)\n\nThis PR updates the function
definitions and inline docs based on the\nlatest metadata from
Elasticsearch.","sha":"ac0433fcdcb6459c95cccb010f839bdd2d53a83c","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:ES|QL","Team:ESQL","backport:version","v9.1.0","v8.19.0"],"title":"[ES|QL]
Update function
metadata","number":212841,"url":"https://github.com/elastic/kibana/pull/212841","mergeCommit":{"message":"[ES|QL]
Update function metadata (elastic#212841)\n\nThis PR updates the function
definitions and inline docs based on the\nlatest metadata from
Elasticsearch.","sha":"ac0433fcdcb6459c95cccb010f839bdd2d53a83c"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212841","number":212841,"mergeCommit":{"message":"[ES|QL]
Update function metadata (elastic#212841)\n\nThis PR updates the function
definitions and inline docs based on the\nlatest metadata from
Elasticsearch.","sha":"ac0433fcdcb6459c95cccb010f839bdd2d53a83c"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
  • Loading branch information
kibanamachine authored and SoniaSanzV committed Mar 4, 2025
1 parent a54c103 commit f5600c5
Showing 1 changed file with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1717,6 +1717,26 @@ const valuesDefinition: FunctionDefinition = {
],
returnType: 'boolean',
},
{
params: [
{
name: 'field',
type: 'cartesian_point',
optional: false,
},
],
returnType: 'cartesian_point',
},
{
params: [
{
name: 'field',
type: 'cartesian_shape',
optional: false,
},
],
returnType: 'cartesian_shape',
},
{
params: [
{
Expand Down Expand Up @@ -1747,6 +1767,26 @@ const valuesDefinition: FunctionDefinition = {
],
returnType: 'double',
},
{
params: [
{
name: 'field',
type: 'geo_point',
optional: false,
},
],
returnType: 'geo_point',
},
{
params: [
{
name: 'field',
type: 'geo_shape',
optional: false,
},
],
returnType: 'geo_shape',
},
{
params: [
{
Expand Down

0 comments on commit f5600c5

Please sign in to comment.