-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
exec: Bug fixes in vectorized casts #40495
Conversation
@jordanlewis this should fix that decimal casting business. I think when we flipped the fromtyp to totype it was somehow reading decimals in as floats and things were going wrong. |
re #40461, i can't repro this on here, but I'll try again tomorrow on a GCE worker. |
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.
LGTM, thanks. Let's see if this fixes the problem I was seeing locally too.
JK, i was able to repo #40461 on this branch :(. This is still should fix the problems you were having. bors r+ |
Build failed |
bors r+ |
bors r- |
Canceled |
f13f9c2
to
5a882d1
Compare
@jordanlewis PTAL on this pr -- based on the templating it made more sense to do both changes here. |
* Fixed a bug where the appropriate setters and getters were not being generated for the casts. * Fixed a bug where columns were not getting sliced, causing column length mismatches. Fixes cockroachdb#40461. Release note: None
5a882d1
to
8bb4562
Compare
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.
LGTM. Can you figure out a way to test this, or not until the decimal thing gets merged?
I can’t right now, due to every supported cast having the same set, get and slice operators :( |
bors r+ |
40495: exec: Bug fixes in vectorized casts r=rohany a=rohany * Fixed a bug where the appropriate setters and getters were not being generated for the casts. * Fixed a bug where columns were not getting sliced, causing column length mismatches. Fixes #40461. Release note: None Co-authored-by: Rohan Yadav <rohany@alumni.cmu.edu>
Build succeeded |
Fixed a bug where the appropriate setters and getters were not being
generated for the casts.
Fixed a bug where columns were not getting sliced, causing column
length mismatches.
Fixes #40461.
Release note: None