Skip to content

feat: Support List type in approx_distinct#23443

Open
mkleen wants to merge 2 commits into
apache:mainfrom
mkleen:list_approx_distinct
Open

feat: Support List type in approx_distinct#23443
mkleen wants to merge 2 commits into
apache:mainfrom
mkleen:list_approx_distinct

Conversation

@mkleen

@mkleen mkleen commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

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

What changes are included in this PR?

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

@github-actions github-actions Bot added sqllogictest SQL Logic Tests (.slt) functions Changes to functions implementation labels Jul 10, 2026
@mkleen mkleen marked this pull request as ready for review July 10, 2026 08:56
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.

1 participant