-
Notifications
You must be signed in to change notification settings - Fork 466
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
Fix issues with bigint sum -> numeric conversion #5299
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good, but you think we could wrap up the bug into a test case somehow?
Yeah I'm not sure: We could definitely repeat the query on the Other than that:
|
In SLT you can just create a table with a primary key actually! |
793aca9
to
fe29a40
Compare
tests added! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Looks great to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for looking at this!
I'm afk for a few hours but feel free to merge when green if you want
…On Wed, Jan 13, 2021, 5:49 PM Nikhil Benesch ***@***.***> wrote:
***@***.**** approved this pull request.
Awesome! Looks great to me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5299 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6UHJH7JH7KYHA7SU4ZWV3SZYPP5ANCNFSM4WAIEVDA>
.
|
Functional changes here in the first commit:
sum_int64
have the same behavior as the rest of the reduce pathand then theres a small debug output change to pgwire in the second commit.
I tested this manually against Chris's query and it works but I'm not sure if thats suitable for an integration test or if we should do something else. Afaik we're not able to specify primary keys from sql primitives. @benesch do you have any thoughts?
This change is