-
Notifications
You must be signed in to change notification settings - Fork 791
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
cast: support unsigned numeric type to decimal128 #3106
cast: support unsigned numeric type to decimal128 #3106
Conversation
cf94dc3
to
367a5a1
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.
Looks good to me -- I think we should also eventually add support for casting unsigned integers Decimal256
to keep the support for Decimal128
and Decimal256
comparable).
Perhaps as a follow on PR
@@ -3429,6 +3509,22 @@ mod tests { | |||
vec![Some(1_i64), Some(2_i64), Some(3_i64), None, Some(5_i64)] | |||
); | |||
|
|||
// overflow test: out of range of max u8 |
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.
👍
Thank you @liukun4515 |
Benchmark runs are scheduled for baseline = fc06c84 and contender = 19f372d. 19f372d is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Which issue does this PR close?
part of #1043
Rationale for this change
What changes are included in this PR?
Are there any user-facing changes?