mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
* DISSECT examples * WHERE examples * Remove references to empty keys * Fix non-deterministic test
25 lines
No EOL
587 B
Text
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[] |