[ESQL] Update inline docs for 8.15 (#186835)

Aggregations, operators, and commands still need to be added manually

- `::` is the only one so far landing in 8.15.0

---------

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
This commit is contained in:
Liam Thompson 2024-07-02 09:27:09 +02:00 committed by GitHub
parent 640baeeda3
commit 0da7bbe318
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4456,6 +4456,33 @@ The following boolean operators are supported:
/>
),
},
{
label: i18n.translate(
'textBasedEditor.query.textBasedLanguagesEditor.documentationESQL.castOperator',
{
defaultMessage: 'Cast (::)',
}
),
description: (
<Markdown
markdownContent={i18n.translate(
'textBasedEditor.query.textBasedLanguagesEditor.documentationESQL.castOperator.markdown',
{
defaultMessage: `### CAST (\`::\`)
The \`::\` operator provides a convenient alternative syntax to the \`TO_<type>\` type conversion functions.
Example:
\`\`\`
ROW ver = CONCAT(("0"::INT + 1)::STRING, ".2.3")::VERSION
\`\`\`
`,
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.inOperator',