mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
ES|QL in-product help update (#166157)
This PR updates the ES|QL in-product help with the following: * added the following functions: acos, asin, atan, atan2, ceil, coalesce, cos, cosh, date_extract, date_parse, floor, greatest, left, ltrim, now, right, rtrim, sin, sinh, sqrt, tan, tanh, to_degrees, to_radians, to_unsigned_long * removed is_null function * updated from (metadata) and rename * added an "Operators" section --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
03b7cd5dae
commit
fa29dafbd8
2 changed files with 1002 additions and 74 deletions
File diff suppressed because it is too large
Load diff
|
@ -139,15 +139,21 @@ export const getDocumentationSections = async (language: string) => {
|
|||
};
|
||||
}
|
||||
if (language === 'esql') {
|
||||
const { sourceCommands, processingCommands, initialSection, functions, aggregationFunctions } =
|
||||
await import('./esql_documentation_sections');
|
||||
const {
|
||||
sourceCommands,
|
||||
processingCommands,
|
||||
initialSection,
|
||||
functions,
|
||||
aggregationFunctions,
|
||||
operators,
|
||||
} = await import('./esql_documentation_sections');
|
||||
groups.push({
|
||||
label: i18n.translate('textBasedEditor.query.textBasedLanguagesEditor.esql', {
|
||||
defaultMessage: 'ES|QL',
|
||||
}),
|
||||
items: [],
|
||||
});
|
||||
groups.push(sourceCommands, processingCommands, functions, aggregationFunctions);
|
||||
groups.push(sourceCommands, processingCommands, functions, aggregationFunctions, operators);
|
||||
return {
|
||||
groups,
|
||||
initialSection,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue