-
Notifications
You must be signed in to change notification settings - Fork 860
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
Refactor some decimal-related code and tests #7062
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.
Copilot reviewed 6 out of 10 changed files in this pull request and generated 3 comments.
Files not reviewed (4)
- arrow-cast/src/cast/decimal.rs: Evaluated as low risk
- arrow/benches/builder.rs: Evaluated as low risk
- arrow/tests/array_cast.rs: Evaluated as low risk
- arrow-data/src/data.rs: Evaluated as low risk
Comments suppressed due to low confidence (1)
arrow-ord/src/sort.rs:1936
- The parameters 'precision' and 'scale' should be consistent with the data type used in 'create_decimal_array'.
precision: u8, scale: i8
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.
Some initial thoughts
…g Decimal32 and Decimal64 support
02d01f6
to
0c90b05
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.
Seems good to me 👍
Which issue does this PR close?
Part of addressing #6661 but does not close it.
Rationale for this change
This change refactors some decimal-related code and tests in preparation for adding Decimal32 and Decimal64 support. It was factored out of #7061 to reduce the code review burden.
What changes are included in this PR?
Refactoring of decimal-related code and tests.
Are there any user-facing changes?
No.