Description
A query like:
SELECT COUNT, COUNT(DISTINCT x)
would give incorrect results. It would only calculate one of them, and return the same result for both expressions in the projection.
A query like:
SELECT COUNT, COUNT(DISTINCT x)
would give incorrect results. It would only calculate one of them, and return the same result for both expressions in the projection.