Add APPROX_TOP_COUNT function #1711
david542542
started this conversation in
Ideas
Replies: 3 comments
-
Hi! Thanks, looks a cool feature request, can you maybe move this to main duckdb's repo discussions? Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
-
since implemented as |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, indeed this will be available in a month or so with duckdb release 1.2 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
BigQuery has a nice feature/function called
APPROX_TOP_COUNT
that returns a struct of the top N values with their approximate count. This is similar to the DuckDBSUMMARIZE
command, but allows a column (or other arbitrary expression). I think this would be a great function/feature to add if this is possible. Postgres also hasmost_common_vals
withinpg_stats
.Beta Was this translation helpful? Give feedback.
All reactions