-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Implement cast and other operations on decimal32 and decimal64 #7815
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
|
Apparently I don't understand "cargo fmt"; it complains about lines I haven't edited -- but only when I've edited other lines in the same file. |
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.
Thank you @CurtHagenlocher and @mbrobbel
I went through this code and reviewed the test coverage and I found it all quite thorough and following the existing patterns. Very nice 👌
Any other thoughts before we merge it?
|
The CI failure looks like an infrastructure problem: https://github.com/apache/arrow-rs/actions/runs/17078845261/job/48427216644?pr=7815 I'll retrigger it when possible |
|
The docs CI failure is unrelated. 🚀 |
|
Thanks again @CurtHagenlocher |
Which issue does this PR close?
Part of addressing #6661 but does not close it; there is at least one more PR for CSV/Parquet/JSON support.
What changes are included in this PR?
This change adds cast operations for the recently-added
decimal32anddecimal64types. It also adds tests to verify that sort and comparison work correctly, and includes these types in benchmarks.Are these changes tested?
Yes.
Are there any user-facing changes?
Casting to and from
decimal32anddecimal64is now supported.