elasticsearch/docs/reference/esql/functions
Nik Everett cf98240950 Update docs from code 2024-09-09 11:28:31 -04:00
..
appendix ESQL: Add COUNT and COUNT_DISTINCT aggregation tests (#111409) 2024-07-30 03:07:15 +10:00
description Update docs from code 2024-09-09 11:28:31 -04:00
examples [ESQL] Add `SPACE` function (#112350) 2024-09-09 21:41:35 +10:00
kibana Update docs from code 2024-09-09 11:28:31 -04:00
layout [ESQL] Add `SPACE` function (#112350) 2024-09-09 21:41:35 +10:00
parameters Update docs from code 2024-09-09 11:28:31 -04:00
signature Update docs from code 2024-09-09 11:28:31 -04:00
types Update docs from code 2024-09-09 11:28:31 -04:00
README.md
aggregation-functions.asciidoc ESQL: WEIGHTED_AVG aggregation tests and docs (#111449) 2024-07-31 00:42:23 +10:00
binary.asciidoc ESQL docs: Push down needs index and doc_values (#110353) 2024-07-02 14:22:50 -04:00
cast.asciidoc
conditional-functions-and-expressions.asciidoc
date-time-functions.asciidoc
grouping-functions.asciidoc
in.asciidoc
ip-functions.asciidoc ESQL: Add aggregations testing base and docs (#110042) 2024-06-27 21:21:55 +10:00
like.asciidoc
logical.asciidoc
math-functions.asciidoc Add the EXP ES|QL function (#110879) 2024-07-16 16:36:01 +02:00
mv-functions.asciidoc ESQL: mv_median_absolute_deviation function (#112055) 2024-09-09 10:04:25 +02:00
operators.asciidoc
predicates.asciidoc
rlike.asciidoc
spatial-functions.asciidoc ES|QL ST_DISTANCE Function (#108764) 2024-06-21 11:59:44 +02:00
string-functions.asciidoc [ESQL] Add `SPACE` function (#112350) 2024-09-09 21:41:35 +10: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