# Cardinality Estimation Functions

#### <mark style="color:purple;">APPROX\_COUNT\_DISTINCT()</mark>

Uses HyperLogLog to provide estimate of count distinct

```sql
approx_count_distinct(a)
approx_count_distinct(a) over(partition by b)
```

Limitation -&#x20;

* " \* " is not supported
