Skip to content

feat: Support FixedSizedBinary type for approx_distinct#23417

Merged
Jefffrey merged 2 commits into
apache:mainfrom
mkleen:fixed_size_binary_approx_distinct
Jul 9, 2026
Merged

feat: Support FixedSizedBinary type for approx_distinct#23417
Jefffrey merged 2 commits into
apache:mainfrom
mkleen:fixed_size_binary_approx_distinct

Conversation

@mkleen

@mkleen mkleen commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

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

What changes are included in this PR?

  • Enable HLLAccumulator and HllGroupsAccumulator to support FixedSizedBinary
  • 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 FixedSizedBinary but no breaking changes.

@mkleen mkleen marked this pull request as ready for review July 9, 2026 10:31
@github-actions github-actions Bot added sqllogictest SQL Logic Tests (.slt) functions Changes to functions implementation labels Jul 9, 2026
@Jefffrey Jefffrey added this pull request to the merge queue Jul 9, 2026
@Jefffrey

Jefffrey commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

thanks @mkleen

Merged via the queue into apache:main with commit cd47b95 Jul 9, 2026
36 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