Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release-20.2: sql: fix ordered set aggregates with constant ORDER BY expressions #64903

Merged
merged 1 commit into from May 10, 2021

Conversation

mgartner
Copy link
Collaborator

@mgartner mgartner commented May 8, 2021

Backport 1/1 commits from #64892.

/cc @cockroachdb/release


This commit fixes a bug that caused an error when providing a constant
ORDER BY expressions in an ordered set aggregate.

Fixes #64319
Fixes #64318

Release note (bug fix): Providing a constant value as an ORDER BY value
in an ordered set aggregate, such as percentile_dist or
percentile_cont, no longer errors. This bug has been present since
order set aggregates were added in version 20.2.

This commit fixes a bug that caused an error when providing a constant
ORDER BY expressions in an ordered set aggregate.

Fixes cockroachdb#64319
Fixes cockroachdb#64318

Release note (bug fix): Providing a constant value as an ORDER BY value
in an ordered set aggregate, such as `percentile_dist` or
`percentile_cont`, no longer errors. This bug has been present since
order set aggregates were added in version 20.2.
@mgartner mgartner requested a review from RaduBerinde May 8, 2021 00:18
@mgartner mgartner requested a review from a team as a code owner May 8, 2021 00:18
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@mgartner mgartner merged commit 57d303c into cockroachdb:release-20.2 May 10, 2021
@mgartner mgartner deleted the backport20.2-64892 branch May 10, 2021 16:30
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.

None yet

3 participants