elasticsearch/docs/reference/esql/functions/predicates.asciidoc
Abdon Pijpelink bc59315baa
[DOCS] Examples for ES|QL DISSECT and WHERE (#102591)
* DISSECT examples

* WHERE examples

* Remove references to empty keys

* Fix non-deterministic test
2023-11-27 10:56:48 +01:00

25 lines
No EOL
587 B
Text

[discrete]
[[esql-predicates]]
=== `IS NULL` and `IS NOT NULL` predicates
//tag::body[]
For NULL comparison, use the `IS NULL` and `IS NOT NULL` predicates:
[source.merge.styled,esql]
----
include::{esql-specs}/null.csv-spec[tag=is-null]
----
[%header.monospaced.styled,format=dsv,separator=|]
|===
include::{esql-specs}/null.csv-spec[tag=is-null-result]
|===
[source.merge.styled,esql]
----
include::{esql-specs}/null.csv-spec[tag=is-not-null]
----
[%header.monospaced.styled,format=dsv,separator=|]
|===
include::{esql-specs}/null.csv-spec[tag=is-not-null-result]
|===
//end::body[]