Skip to content

feat: Support BinaryView type in approx_distinct#23333

Merged
Jefffrey merged 1 commit into
apache:mainfrom
mkleen:binary_view_approx_distinct
Jul 7, 2026
Merged

feat: Support BinaryView type in approx_distinct#23333
Jefffrey merged 1 commit into
apache:mainfrom
mkleen:binary_view_approx_distinct

Conversation

@mkleen

@mkleen mkleen commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

  • Support the BinaryView type for approx_distinct
  • The Arrow type BinaryView can be directly supported for HLLAccumulator and HllGroupsAccumulator

What changes are included in this PR?

  • Enable HLLAccumulator and HllGroupsAccumulator to support BinaryView
  • Tests for the non-grouped and grouped path as part of aggregate.slt

Are these changes tested?

Yes

Are there any user-facing changes?

Yes, approx_distinct supports now BinaryView but no breaking changes.

@mkleen mkleen changed the title feat: Support BinaryView Type in approx_distinct feat: Support BinaryView type in approx_distinct Jul 6, 2026
@mkleen mkleen force-pushed the binary_view_approx_distinct branch from 41fe468 to 392c818 Compare July 6, 2026 09:10
@github-actions github-actions Bot added sqllogictest SQL Logic Tests (.slt) functions Changes to functions implementation labels Jul 6, 2026
@mkleen mkleen marked this pull request as ready for review July 6, 2026 10:40
@Jefffrey Jefffrey added this pull request to the merge queue Jul 7, 2026
@Jefffrey

Jefffrey commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

thanks @mkleen

Merged via the queue into apache:main with commit f755cb4 Jul 7, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

functions Changes to functions implementation sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants