Skip to content

Commit

Permalink
[8.x] [ES|QL] Update function metadata (elastic#197940) (elastic#197961)
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#197940)](elastic#197940)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Kibana
Machine","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-28T10:01:01Z","message":"[ES|QL]
Update function metadata (elastic#197940)\n\nThis PR updates the function
definitions and inline docs based on the\r\nlatest metadata from
Elasticsearch.","sha":"d70e01aa9e2781dff850aa9f27943de881165434","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Feature:ES|QL","Team:ESQL","backport:version","v8.17.0"],"title":"[ES|QL]
Update function
metadata","number":197940,"url":"https://github.com/elastic/kibana/pull/197940","mergeCommit":{"message":"[ES|QL]
Update function metadata (elastic#197940)\n\nThis PR updates the function
definitions and inline docs based on the\r\nlatest metadata from
Elasticsearch.","sha":"d70e01aa9e2781dff850aa9f27943de881165434"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197940","number":197940,"mergeCommit":{"message":"[ES|QL]
Update function metadata (elastic#197940)\n\nThis PR updates the function
definitions and inline docs based on the\r\nlatest metadata from
Elasticsearch.","sha":"d70e01aa9e2781dff850aa9f27943de881165434"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
  • Loading branch information
kibanamachine authored Oct 28, 2024
1 parent 12d8388 commit fedd197
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ const maxDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
},
{
params: [
Expand Down Expand Up @@ -1035,7 +1035,7 @@ const minDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
},
{
params: [
Expand Down Expand Up @@ -1491,7 +1491,7 @@ const topDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
},
],
supportedCommands: ['stats', 'inlinestats', 'metrics'],
Expand Down Expand Up @@ -1590,7 +1590,7 @@ const valuesDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
},
{
params: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ const coalesceDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
minParams: 1,
},
{
Expand All @@ -957,7 +957,7 @@ const coalesceDefinition: FunctionDefinition = {
optional: true,
},
],
returnType: 'text',
returnType: 'keyword',
minParams: 1,
},
{
Expand Down Expand Up @@ -1973,7 +1973,7 @@ const greatestDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
minParams: 1,
},
{
Expand All @@ -1989,7 +1989,7 @@ const greatestDefinition: FunctionDefinition = {
optional: true,
},
],
returnType: 'text',
returnType: 'keyword',
minParams: 1,
},
{
Expand Down Expand Up @@ -2484,7 +2484,7 @@ const leastDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
minParams: 1,
},
{
Expand All @@ -2500,7 +2500,7 @@ const leastDefinition: FunctionDefinition = {
optional: true,
},
],
returnType: 'text',
returnType: 'keyword',
minParams: 1,
},
{
Expand Down Expand Up @@ -3198,7 +3198,7 @@ const ltrimDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
},
],
supportedCommands: ['stats', 'inlinestats', 'metrics', 'eval', 'where', 'row', 'sort'],
Expand Down Expand Up @@ -3475,7 +3475,7 @@ const mvAppendDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
},
{
params: [
Expand Down Expand Up @@ -3920,7 +3920,7 @@ const mvDedupeDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
},
{
params: [
Expand Down Expand Up @@ -4067,7 +4067,7 @@ const mvFirstDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
},
{
params: [
Expand Down Expand Up @@ -4224,7 +4224,7 @@ const mvLastDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
},
{
params: [
Expand Down Expand Up @@ -4341,7 +4341,7 @@ const mvMaxDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
},
{
params: [
Expand Down Expand Up @@ -4583,7 +4583,7 @@ const mvMinDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
},
{
params: [
Expand Down Expand Up @@ -5054,7 +5054,7 @@ const mvSliceDefinition: FunctionDefinition = {
optional: true,
},
],
returnType: 'text',
returnType: 'keyword',
},
{
params: [
Expand Down Expand Up @@ -5221,7 +5221,7 @@ const mvSortDefinition: FunctionDefinition = {
acceptedValues: ['asc', 'desc'],
},
],
returnType: 'text',
returnType: 'keyword',
},
{
params: [
Expand Down Expand Up @@ -6131,7 +6131,7 @@ const reverseDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
},
],
supportedCommands: ['stats', 'inlinestats', 'metrics', 'eval', 'where', 'row', 'sort'],
Expand Down Expand Up @@ -6323,7 +6323,7 @@ const rtrimDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
},
],
supportedCommands: ['stats', 'inlinestats', 'metrics', 'eval', 'where', 'row', 'sort'],
Expand Down Expand Up @@ -8597,7 +8597,7 @@ const toLowerDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
},
],
supportedCommands: ['stats', 'inlinestats', 'metrics', 'eval', 'where', 'row', 'sort'],
Expand Down Expand Up @@ -8995,7 +8995,7 @@ const toUpperDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
},
],
supportedCommands: ['stats', 'inlinestats', 'metrics', 'eval', 'where', 'row', 'sort'],
Expand Down Expand Up @@ -9077,7 +9077,7 @@ const trimDefinition: FunctionDefinition = {
optional: false,
},
],
returnType: 'text',
returnType: 'keyword',
},
],
supportedCommands: ['stats', 'inlinestats', 'metrics', 'eval', 'where', 'row', 'sort'],
Expand Down

0 comments on commit fedd197

Please sign in to comment.