From fbbe2ac1df9a0c05502332f5391ee5a3e6823d72 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 (cherry picked from commit 95b81318f948193c2c8495181e659b8a557e9650) --- .../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 4114ab021bf71..50c85a35d3d9b 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', @@ -2489,6 +2518,38 @@ Alias: TO_DBL /> ), }, + { + label: i18n.translate( + 'textBasedEditor.query.textBasedLanguagesEditor.documentationESQL.toGeopointFunction', + { + defaultMessage: 'TO_GEOPOINT', + } + ), + description: ( + + ), + }, { label: i18n.translate( 'textBasedEditor.query.textBasedLanguagesEditor.documentationESQL.toIntegerFunction',