From 95b81318f948193c2c8495181e659b8a557e9650 Mon Sep 17 00:00:00 2001 From: Abdon Pijpelink Date: Tue, 23 Jan 2024 17:21:56 +0100 Subject: [PATCH] ES|QL in-product help update for 8.12 (#175300) This PR updates the ES|QL in-product help with the following: - New functions: TO_GEOPOINT, TO_CARTESIANPOINT - Added erroneously omitted function: ENDS_WIDTH - Updated description of POW --- .../src/esql_documentation_sections.tsx | 125 +++++++++++++----- 1 file changed, 93 insertions(+), 32 deletions(-) diff --git a/packages/kbn-text-based-editor/src/esql_documentation_sections.tsx b/packages/kbn-text-based-editor/src/esql_documentation_sections.tsx index 089376fec5b215..46af131f573f48 100644 --- a/packages/kbn-text-based-editor/src/esql_documentation_sections.tsx +++ b/packages/kbn-text-based-editor/src/esql_documentation_sections.tsx @@ -1226,6 +1226,34 @@ Euler’s number. \`\`\` ROW E() +\`\`\` + `, + description: + 'Text is in markdown. Do not translate function names, special characters, or field names like sum(bytes)', + } + )} + /> + ), + }, + { + label: i18n.translate( + 'textBasedEditor.query.textBasedLanguagesEditor.documentationESQL.endsWithFunction', + { + defaultMessage: 'ENDS_WITH', + } + ), + description: ( + ), }, + { + label: i18n.translate( + 'textBasedEditor.query.textBasedLanguagesEditor.documentationESQL.toCartesianpointFunction', + { + defaultMessage: 'TO_CARTESIANPOINT', + } + ), + description: ( + + ), + }, { label: i18n.translate( 'textBasedEditor.query.textBasedLanguagesEditor.documentationESQL.toDatetimeFunction', @@ -2408,6 +2437,38 @@ Alias: TO_DBL /> ), }, + { + label: i18n.translate( + 'textBasedEditor.query.textBasedLanguagesEditor.documentationESQL.toGeopointFunction', + { + defaultMessage: 'TO_GEOPOINT', + } + ), + description: ( + + ), + }, { label: i18n.translate( 'textBasedEditor.query.textBasedLanguagesEditor.documentationESQL.toIntegerFunction',