nbphuoc
nbphuoc
I experience this issue too. Using `count_distinct_approx` and `count` works fine, but using `count_distinct` results in the mentioned error.
> As a workaround, I can maybe recommend using `count_distinct_approx` with Postgres HLL extension: https://cube.dev/docs/product/configuration/data-sources/postgres#count_distinct_approx I would love to use `count_distinct_approx`, but unfortunately, Cube.js doesn't support `count_distinct_approx` for [Redshift](https://cube.dev/docs/product/configuration/data-sources/aws-redshift#count_distinct_approx) pre-aggregation,...
Samething happened to me. Are you able to fix it?