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

sql/sem/builtins: fix width_bucket for 0-length arrays #40626

Merged
merged 1 commit into from
Sep 10, 2019
Merged

sql/sem/builtins: fix width_bucket for 0-length arrays #40626

merged 1 commit into from
Sep 10, 2019

Conversation

maddyblue
Copy link
Contributor

Fixes #40623

Release note (bug fix): width_bucket no longer errors on 0-length arrays

Fixes #40623

Release note (bug fix): width_bucket no longer errors on 0-length arrays
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@jordanlewis jordanlewis left a comment

Choose a reason for hiding this comment

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

Thanks @mjibson !

@maddyblue
Copy link
Contributor Author

bors r+

craig bot pushed a commit that referenced this pull request Sep 10, 2019
40626: sql/sem/builtins: fix width_bucket for 0-length arrays r=mjibson a=mjibson

Fixes #40623

Release note (bug fix): width_bucket no longer errors on 0-length arrays

Co-authored-by: Matt Jibson <matt.jibson@gmail.com>
@craig
Copy link
Contributor

craig bot commented Sep 10, 2019

Build succeeded

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.

sql: internal error: runtime error: index out of range
3 participants