StarRocks / starrocks

StarRocks, a Linux Foundation project, is a next-generation sub-second MPP OLAP database for full analytics scenarios, including multi-dimensional analytics, real-time analytics, and ad-hoc queries.
https://starrocks.io
Apache License 2.0
8.25k stars 1.67k forks source link

[function]cardinality(HLL) #40879

Open wangsimo0 opened 4 months ago

wangsimo0 commented 4 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 1 month ago

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

mychaow commented 1 month ago

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

wangsimo0 commented 1 month 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 1 month ago

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