Skip to content

add docs for aggregation function datasketches_hll_union_agg#3711

Open
nooneuse wants to merge 2 commits into
apache:masterfrom
nooneuse:add_docs_for_datasketches_hll_union_agg
Open

add docs for aggregation function datasketches_hll_union_agg#3711
nooneuse wants to merge 2 commits into
apache:masterfrom
nooneuse:add_docs_for_datasketches_hll_union_agg

Conversation

@nooneuse
Copy link
Copy Markdown

@nooneuse nooneuse commented May 20, 2026

Please See: apache/doris#63143
Documentation for the datasketches_hll_union_agg aggregate function.

Versions

  • dev
  • 4.x
  • 3.x
  • 2.1 or older (not covered by version/language sync gate)

Languages

  • Chinese
  • English
  • Japanese candidate translation needed

Docs Checklist

  • Checked by AI
  • Test Cases Built
  • Updated required version and language counterparts, or explained why not
  • If only one language changed, confirmed whether source/translation counterparts need sync

@zclllyybb
Copy link
Copy Markdown
Contributor

@nooneuse please also add for 4.x version with label to remind it's supported since 4.1.2. and resolve the conflicts. thx~

```

```sql
-- invalid sketch bytes will throw
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need result

CAST(ROUND(datasketches_hll_union_agg(sk)) AS BIGINT),
CAST(ROUND(ds_hll_estimate(sk)) AS BIGINT),
CAST(ROUND(datasketches_hll_estimate(sk)) AS BIGINT)
FROM test_datasketches_hll_union_agg_tbl;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants