elasticsearch/docs/reference/esql/functions/is_null.asciidoc

18 lines
298 B
Plaintext
Raw Normal View History

2023-05-11 23:02:27 +08:00
[[esql-is_null]]
=== `IS_NULL`
Returns a boolean than indicates whether its input is `null`.
[source,esql]
----
FROM employees
| WHERE IS_NULL(first_name)
----
Combine this function with `NOT` to filter out any `null` data:
[source,esql]
----
FROM employees
| WHERE NOT IS_NULL(first_name)
----