Skip to content

GH-43956: [C++][Compute] Add Decimal32/64 Casts - #45014

Merged
zeroshade merged 2 commits into
apache:mainfrom
zeroshade:casting-decimal32-64
Dec 13, 2024
Merged

GH-43956: [C++][Compute] Add Decimal32/64 Casts#45014
zeroshade merged 2 commits into
apache:mainfrom
zeroshade:casting-decimal32-64

Conversation

@zeroshade

@zeroshade zeroshade commented Dec 12, 2024

Copy link
Copy Markdown
Member

Rationale for this change

Furthering the support for Decimal32/Decimal64 among Acero and casting functionality. This is also necessary for #44882 to add support for Decimal32/64 to PyArrow

What changes are included in this PR?

Adding kernels for casting to and from Decimal32/Decimal64 between numeric, floating point, string and other decimal types.

Are these changes tested?

Yes, unit tests are added accordingly.

@paleolimbot paleolimbot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this! I took a look through for copy/paste errors and didn't find any; however, I am not that familiar with this part of the code.

I did test #44882 against this locally and all the tests now pass!

@github-actions github-actions Bot added awaiting merge Awaiting merge and removed awaiting changes Awaiting changes labels Dec 13, 2024
@zeroshade
zeroshade merged commit 313d11a into apache:main Dec 13, 2024
@zeroshade
zeroshade deleted the casting-decimal32-64 branch December 13, 2024 16:19
@kou

kou commented Dec 15, 2024

Copy link
Copy Markdown
Member

@zeroshade Could you use our merge script in apache/arrow next time?

@zeroshade

Copy link
Copy Markdown
Member Author

@kou my bad, been working on arrow-go too much and completely forgot :( sorry

@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 313d11a.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 22 possible false positives for unstable benchmarks that are known to sometimes produce them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants