Skip to content

Commit ec176ee

Browse files
committed
ES|QL: Add PRESENT_OVER_TIME ES|QL function
- Improve documentation Part of #131069
1 parent 63fa255 commit ec176ee

File tree

2 files changed

+17
-0
lines changed
  • docs/reference/query-languages/esql/_snippets/functions/examples
  • x-pack/plugin/esql/qa/testFixtures/src/main/resources

2 files changed

+17
-0
lines changed

docs/reference/query-languages/esql/_snippets/functions/examples/present.md

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugin/esql/qa/testFixtures/src/main/resources/present.csv-spec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ FROM employees
99
// end::present[]
1010
;
1111

12+
// tag::present-result[]
1213
is_present:boolean
1314
true
15+
// end::present-result[]
1416
;
1517

1618
PRESENT with grouping
@@ -23,13 +25,15 @@ FROM employees
2325
;
2426
ignoreOrder:true
2527

28+
// tag::present-by-result[]
2629
is_present:boolean | languages:integer
2730
true | 1
2831
true | 2
2932
true | 3
3033
true | 4
3134
true | 5
3235
true | null
36+
// end::present-by-result[]
3337
;
3438

3539
PRESENT with filter

0 commit comments

Comments
 (0)