// This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.

[discrete]
[[esql-count_distinct]]
=== `COUNT_DISTINCT`

*Syntax*

[.text-center]
image::esql/functions/signature/count_distinct.svg[Embedded,opts=inline]

include::../parameters/count_distinct.asciidoc[]
include::../description/count_distinct.asciidoc[]
include::../types/count_distinct.asciidoc[]
include::../examples/count_distinct.asciidoc[]
include::../appendix/count_distinct.asciidoc[]
