Repeated non-NULL values share one distinct bucket.
duplicates fold
Read folded duplicates
The compiler folds 2 repeated value cells into existing buckets.
folded duplicates=2
COUNT DISTINCT examples are tiny finite-table transforms; SQL dialect completeness, collations, type coercion, optimizer behavior, execution cost, indexing, and database-product claims are out of scope.
One bucket per value
The distinct bucket table shows one bucket for each unique non-NULL value.