StarRocks / starrocks

The world's fastest open query engine for sub-second analytics both on and off the data lakehouse. With the flexibility to support nearly any scenario, StarRocks provides best-in-class performance for multi-dimensional analytics, real-time analytics, and ad-hoc queries. A Linux Foundation project.
https://starrocks.io
Apache License 2.0
9.22k stars 1.83k forks source link

[function]cardinality(HLL) #40879

Open wangsimo0 opened 9 months ago

wangsimo0 commented 9 months ago

StarRocks support hll_cardinality https://docs.starrocks.io/docs/sql-reference/sql-functions/scalar-functions/hll_cardinality/ however, in trino's compatibility, trino support hll type's cardinality in function cardinality().

if starrocks support hll input in cardinality(), it will make starrocks be more compatible with trino in trino's sql_dialect

mychaow commented 6 months ago

Hi, I'd like to try it, thanks!

mychaow commented 6 months ago

Sorry, I've been a bit busy lately. I'll unassign this task for now. Sorry for the inconvenience.

wangsimo0 commented 6 months ago

Sorry, I've been a bit busy lately. I'll unassign this task for now. Sorry for the inconvenience.

that's ok~~:)

mychaow commented 6 months ago

Hi, I've tried it. Please help me review it. Thanks!

github-actions[bot] commented 3 days ago

We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks!