Skip to content

fix: set supports_retract_batch to false for ApproxPercentileAccumulator - #12132

Merged
jonahgao merged 2 commits into
apache:mainfrom
jonahgao:retract_batch
Aug 24, 2024
Merged

jonahgao merged 2 commits into
apache:mainfrom
jonahgao:retract_batch

Conversation

@jonahgao

@jonahgao jonahgao commented Aug 23, 2024 •

Copy link
Copy Markdown
Member

Which issue does this PR close?

Closes #12058.

Rationale for this change

ApproxPercentileAccumulator does not implement the retract_batch method, but supports_retract_batch returns true.

What changes are included in this PR?

Are these changes tested?

Yes

Are there any user-facing changes?

No

@github-actions github-actions Bot added sqllogictest SQL Logic Tests (.slt) functions Changes to functions implementation labels Aug 23, 2024

@lewiszlw lewiszlw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks.

@jonahgao
jonahgao merged commit 6f18304 into apache:main Aug 24, 2024
@jonahgao

Copy link
Copy Markdown
Member Author

Thanks @lewiszlw for the review.

@jonahgao
jonahgao deleted the retract_batch branch August 24, 2024 09:28
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.

Internal Error in APPROX_PERCENTILE_CONT window function (SQLancer)

2 participants