Skip to content

Commit ef10aa9

Browse files
nik9000mridula-s109
authored andcommitted
ESQL: Add counters to signature for IS NULL (elastic#129670)
This adds `counter_long` and `counter_double` to the signatures of supported fields for `IS NULL` and `IS NOT NULL`. We hadn't been generating those signatures since the docs v3 migration, so this had to plug those in. In addition, it changes the wording on a few things and adds a note that if a field is only in some documents then the ones missing the field will have `NULL` - which is important information for `IS NULL` and `IS NOT NULL`.
1 parent 85e4bc7 commit ef10aa9

File tree

12 files changed

+206
-53
lines changed

12 files changed

+206
-53
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
::::{note}
3+
If a field is only in some documents it will be `NULL` in the documents that did not contain it.
4+
::::
5+
6+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
::::{note}
3+
If a field is only in some documents it will be `NULL` in the documents that did not contain it.
4+
::::
5+
6+

docs/reference/query-languages/esql/_snippets/operators/types/is_not_null.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
| boolean | boolean |
88
| cartesian_point | boolean |
99
| cartesian_shape | boolean |
10+
| counter_double | boolean |
11+
| counter_integer | boolean |
12+
| counter_long | boolean |
1013
| date | boolean |
1114
| date_nanos | boolean |
1215
| double | boolean |

docs/reference/query-languages/esql/_snippets/operators/types/is_null.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
| boolean | boolean |
88
| cartesian_point | boolean |
99
| cartesian_shape | boolean |
10+
| counter_double | boolean |
11+
| counter_integer | boolean |
12+
| counter_long | boolean |
1013
| date | boolean |
1114
| date_nanos | boolean |
1215
| double | boolean |

docs/reference/query-languages/esql/kibana/definition/operators/is_not_null.json

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

0 commit comments

Comments
 (0)