elasticsearch/docs/reference/esql/functions
Bogdan Pintea b5addca40a
ESQL: Docs: COUNT: add an explanation to the use of the 3VL (#116684)
Add an explanation of why `... OR NULL` is needed with `COUNT(...)`.

Fixes: #99954
2024-11-19 10:37:47 +01:00
..
appendix
description [ES|QL] Add support BYTE_LENGTH scalar function (#116591) 2024-11-13 00:42:19 +02:00
examples ESQL: Docs: COUNT: add an explanation to the use of the 3VL (#116684) 2024-11-19 10:37:47 +01:00
kibana [ESQL] Update docs format (missing space before '=') (#116808) 2024-11-14 16:05:28 +02:00
layout [ES|QL] Add support BYTE_LENGTH scalar function (#116591) 2024-11-13 00:42:19 +02:00
parameters [ES|QL] Add support BYTE_LENGTH scalar function (#116591) 2024-11-13 00:42:19 +02:00
signature [ES|QL] Add support BYTE_LENGTH scalar function (#116591) 2024-11-13 00:42:19 +02:00
types [ES|QL] Add support BYTE_LENGTH scalar function (#116591) 2024-11-13 00:42:19 +02:00
README.md
aggregation-functions.asciidoc
binary.asciidoc
cast.asciidoc
conditional-functions-and-expressions.asciidoc
date-time-functions.asciidoc
grouping-functions.asciidoc
in.asciidoc
ip-functions.asciidoc
like.asciidoc ES|QL: improve docs about escaping for GROK, DISSECT, LIKE, RLIKE (#115320) 2024-10-24 09:19:46 +02:00
logical.asciidoc
math-functions.asciidoc [ES|QL] Add hypot function (#114382) 2024-10-11 09:33:45 -10:00
mv-functions.asciidoc
operators.asciidoc
predicates.asciidoc
rlike.asciidoc ES|QL: improve docs about escaping for GROK, DISSECT, LIKE, RLIKE (#115320) 2024-10-24 09:19:46 +02:00
search-functions.asciidoc ES|QL Add full-text search to the functions docs page (#116024) 2024-11-01 12:04:55 +00:00
spatial-functions.asciidoc
string-functions.asciidoc [ES|QL] Add support BYTE_LENGTH scalar function (#116591) 2024-11-13 00:42:19 +02:00
type-conversion-functions.asciidoc
unary.asciidoc

README.md

The files in these subdirectories are generated by ESQL's test suite:

  • description - description of each function scraped from @FunctionInfo#description
  • examples - examples of each function scraped from @FunctionInfo#examples
  • parameters - description of each function's parameters scraped from @Param
  • signature - railroad diagram of the syntax to invoke each function
  • types - a table of each combination of support type for each parameter. These are generated from tests.
  • layout - a fully generated description for each function
  • kibana/definition - function definitions for kibana's ESQL editor
  • kibana/docs - the inline docs for kibana

Most functions can use the generated docs generated in the layout directory. If we need something more custom for the function we can make a file in this directory that can include:: any parts of the files above.

To regenerate the files for a function run its tests using gradle:

./gradlew :x-pack:plugin:esql:test -Dtests.class='*SinTests'

To regenerate the files for all functions run all of ESQL's tests using gradle:

./gradlew :x-pack:plugin:esql:test