-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Support casting NULL to/from Decimal
#1922
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
Conversation
NULL to/from Decimal
alamb
left a comment
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 @liukun4515 -- looks good to me
arrow/src/compute/kernels/cast.rs
Outdated
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.
Why not support casting Decimal to Null? If we don't add support in this PR can / should file a ticket to add it in a follow on I think
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.
I will fill up Decimal to Null in this pull request.
|
Looks like there is a test failure: https://github.com/apache/arrow-rs/runs/7004119046?check_suite_focus=true |
I will try to fix this case. |
9692a39 to
b89c268
Compare
|
IT failure: https://github.com/apache/arrow-rs/runs/7006919197?check_suite_focus=true#step:6:12919 It has nothing about the arrow-rs |
b89c268 to
369b203
Compare
|
Do we need to merge this into the release 17.0.0? |
…-rs into support_NULL_to_decimal
|
Sounds good to merge this to 17.0.0. |
Thanks @viirya |
Codecov Report
@@ Coverage Diff @@
## master #1922 +/- ##
==========================================
+ Coverage 83.42% 83.47% +0.05%
==========================================
Files 214 221 +7
Lines 57004 57042 +38
==========================================
+ Hits 47553 47615 +62
+ Misses 9451 9427 -24
Continue to review full report at Codecov.
|
|
thank you all!! |
* support NULL type values to decimal * support NULL type values to decimal * Update arrow/src/compute/kernels/cast.rs * Update arrow/src/compute/kernels/cast.rs Co-authored-by: Liang-Chi Hsieh <[email protected]>
Can drop this after rebase on commit 9e8c1bf "Support casting NULL to/from Decimal (apache#1922)", first released in 17.0.0
Which issue does this PR close?
Closes #1921
Rationale for this change
What changes are included in this PR?
Are there any user-facing changes?