-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat(redshift) support approx count distinct #8512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
feat(redshift) support approx count distinct #8512
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 8 Skipped Deployments
|
If this gets through @paveltiunov's review, I think changes to this docs section would be needed: https://cube.dev/docs/product/configuration/data-sources/aws-redshift#count_distinct_approx |
…ph/support-hll-redshift
Tested with pre-aggregation:
|
Validated non pre-aggregated queries,
|
@pauldheinrichs Thanks for contributing! I guess |
@paveltiunov I attempted that in this 71e0882 commit actually and resulting not super succesfully when testing? Unless i tested wrong? 🤔 |
@pauldheinrichs Hard to tell what's went wrong but according to the doc |
This reverts commit 71e0882.
@pauldheinrichs It feels we need |
@pauldheinrichs Given that AWS HLL format spec is proprietary and HLL support can't be also brought to Cube Store, I wonder how useful this addition to the Redshift driver is. WDYT? |
Check List
Add support for redshift approx distinct calls (i think) please feel free to make changes or whatever to help get this through. I would just like to start using this for additive measures in cube and would love this to get in sooner rather than later 😅
Docs: https://docs.aws.amazon.com/redshift/latest/dg/hyperloglog-functions.html
Issue Reference this PR resolves
Fixes: #8510
Description of Changes Made (if issue reference is not provided)
[Description goes here]