Luigi Dell'Aquila 2588c72a52 ES|QL: Add unit tests and docs for DATE_TRUNC() (#107145) 1 year ago
..
description 2588c72a52 ES|QL: Add unit tests and docs for DATE_TRUNC() (#107145) 1 year ago
examples 2588c72a52 ES|QL: Add unit tests and docs for DATE_TRUNC() (#107145) 1 year ago
layout 2588c72a52 ES|QL: Add unit tests and docs for DATE_TRUNC() (#107145) 1 year ago
parameters 2588c72a52 ES|QL: Add unit tests and docs for DATE_TRUNC() (#107145) 1 year ago
signature 2588c72a52 ES|QL: Add unit tests and docs for DATE_TRUNC() (#107145) 1 year ago
types 2588c72a52 ES|QL: Add unit tests and docs for DATE_TRUNC() (#107145) 1 year ago
README.md b85d4b1dbb Fix typo in functions/README.md (#106870) 1 year ago
aggregation-functions.asciidoc 2380492fac ESQL: Support ST_CONTAINS and ST_WITHIN (#106503) 1 year ago
auto_bucket.asciidoc f26691f987 ESQL: Mark a few features as experimental (#105263) 1 year ago
avg.asciidoc 980bc500b0 [DOCS] Support for nested functions in ES|QL STATS...BY (#104788) 1 year ago
binary.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
case.asciidoc 8e0d4e1846 [DOCS] Improve ES|QL functions reference for functions A-D (#103447) 1 year ago
cidr_match.asciidoc 8e0d4e1846 [DOCS] Improve ES|QL functions reference for functions A-D (#103447) 1 year ago
coalesce.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
concat.asciidoc 8e0d4e1846 [DOCS] Improve ES|QL functions reference for functions A-D (#103447) 1 year ago
conditional-functions-and-expressions.asciidoc 931dcae41d Add improvements to the ES|QL docs (#101195) 2 years ago
cosh.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
count-distinct.asciidoc 980bc500b0 [DOCS] Support for nested functions in ES|QL STATS...BY (#104788) 1 year ago
count.asciidoc 980bc500b0 [DOCS] Support for nested functions in ES|QL STATS...BY (#104788) 1 year ago
date-time-functions.asciidoc 2588c72a52 ES|QL: Add unit tests and docs for DATE_TRUNC() (#107145) 1 year ago
date_diff.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
date_extract.asciidoc 8e0d4e1846 [DOCS] Improve ES|QL functions reference for functions A-D (#103447) 1 year ago
date_format.asciidoc 8e0d4e1846 [DOCS] Improve ES|QL functions reference for functions A-D (#103447) 1 year ago
date_parse.asciidoc 2b4ba7a744 [DOCS] Small ES|QL improvements (#101877) 1 year ago
e.asciidoc e87c49cb4b [DOCS] Improve ES|QL functions reference for functions E-Z (#104623) 1 year ago
ends_with.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
floor.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
greatest.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
in.asciidoc bc59315baa [DOCS] Examples for ES|QL DISSECT and WHERE (#102591) 1 year ago
least.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
length.asciidoc e87c49cb4b [DOCS] Improve ES|QL functions reference for functions E-Z (#104623) 1 year ago
like.asciidoc bc59315baa [DOCS] Examples for ES|QL DISSECT and WHERE (#102591) 1 year ago
logical.asciidoc 8ac4ba751e Restructure ES|QL docs (#100806) 2 years ago
ltrim.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
math-functions.asciidoc 7b254218fb Add ES|QL signum function (#106866) 1 year ago
max.asciidoc 980bc500b0 [DOCS] Support for nested functions in ES|QL STATS...BY (#104788) 1 year ago
median-absolute-deviation.asciidoc 980bc500b0 [DOCS] Support for nested functions in ES|QL STATS...BY (#104788) 1 year ago
median.asciidoc 980bc500b0 [DOCS] Support for nested functions in ES|QL STATS...BY (#104788) 1 year ago
min.asciidoc 980bc500b0 [DOCS] Support for nested functions in ES|QL STATS...BY (#104788) 1 year ago
mv-functions.asciidoc e6d1c90501 [ES|QL] Add mv_sort (#106095) 1 year ago
mv_avg.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
mv_concat.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
mv_count.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
mv_dedupe.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
mv_first.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
mv_last.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
mv_max.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
mv_median.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
mv_min.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
mv_slice.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
mv_sort.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
mv_sum.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
mv_zip.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
now.asciidoc e87c49cb4b [DOCS] Improve ES|QL functions reference for functions E-Z (#104623) 1 year ago
operators.asciidoc 282f0f0a00 [ESQL] Remove is_nan, is_finite, and is_infinite (#104091) 1 year ago
percentile.asciidoc 980bc500b0 [DOCS] Support for nested functions in ES|QL STATS...BY (#104788) 1 year ago
pi.asciidoc e87c49cb4b [DOCS] Improve ES|QL functions reference for functions E-Z (#104623) 1 year ago
pow.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
predicates.asciidoc bc59315baa [DOCS] Examples for ES|QL DISSECT and WHERE (#102591) 1 year ago
replace.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
right.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
rlike.asciidoc bc59315baa [DOCS] Examples for ES|QL DISSECT and WHERE (#102591) 1 year ago
round.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
rtrim.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
spatial-functions.asciidoc a7b38394d9 ESQL: Support ST_DISJOINT (#107007) 1 year ago
split.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
sqrt.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
st_centroid.asciidoc 2380492fac ESQL: Support ST_CONTAINS and ST_WITHIN (#106503) 1 year ago
st_contains.asciidoc a7b38394d9 ESQL: Support ST_DISJOINT (#107007) 1 year ago
st_disjoint.asciidoc a7b38394d9 ESQL: Support ST_DISJOINT (#107007) 1 year ago
st_intersects.asciidoc a7b38394d9 ESQL: Support ST_DISJOINT (#107007) 1 year ago
st_within.asciidoc a7b38394d9 ESQL: Support ST_DISJOINT (#107007) 1 year ago
st_x.asciidoc 2380492fac ESQL: Support ST_CONTAINS and ST_WITHIN (#106503) 1 year ago
st_y.asciidoc 2380492fac ESQL: Support ST_CONTAINS and ST_WITHIN (#106503) 1 year ago
starts_with.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
string-functions.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
substring.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
sum.asciidoc 980bc500b0 [DOCS] Support for nested functions in ES|QL STATS...BY (#104788) 1 year ago
tau.asciidoc e87c49cb4b [DOCS] Improve ES|QL functions reference for functions E-Z (#104623) 1 year ago
to_boolean.asciidoc e87c49cb4b [DOCS] Improve ES|QL functions reference for functions E-Z (#104623) 1 year ago
to_cartesianpoint.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
to_cartesianshape.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
to_datetime.asciidoc e87c49cb4b [DOCS] Improve ES|QL functions reference for functions E-Z (#104623) 1 year ago
to_degrees.asciidoc e87c49cb4b [DOCS] Improve ES|QL functions reference for functions E-Z (#104623) 1 year ago
to_double.asciidoc e87c49cb4b [DOCS] Improve ES|QL functions reference for functions E-Z (#104623) 1 year ago
to_geopoint.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
to_geoshape.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
to_integer.asciidoc e87c49cb4b [DOCS] Improve ES|QL functions reference for functions E-Z (#104623) 1 year ago
to_ip.asciidoc e87c49cb4b [DOCS] Improve ES|QL functions reference for functions E-Z (#104623) 1 year ago
to_long.asciidoc e87c49cb4b [DOCS] Improve ES|QL functions reference for functions E-Z (#104623) 1 year ago
to_lower.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
to_radians.asciidoc e87c49cb4b [DOCS] Improve ES|QL functions reference for functions E-Z (#104623) 1 year ago
to_string.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
to_unsigned_long.asciidoc f26691f987 ESQL: Mark a few features as experimental (#105263) 1 year ago
to_upper.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
to_version.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
trim.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 year ago
type-conversion-functions.asciidoc f26691f987 ESQL: Mark a few features as experimental (#105263) 1 year ago
unary.asciidoc 3b738905e1 ESQL: Add type tables for operators to docs (#103206) 1 year ago
values.asciidoc c74490c137 ESQL: Enable VALUES agg for datetime (#107016) 1 year ago

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

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