Skip to content

Conversation

@kou
Copy link
Member

@kou kou commented Dec 25, 2025

Rationale for this change

It's a 128 bits variant of decimal array.

What changes are included in this PR?

  • Add ArrowFormat::Decimal128Type
  • Add ArrowFormat::Decimal128Array

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes.

@kou kou marked this pull request as draft December 25, 2025 04:13
@github-actions
Copy link

⚠️ GitHub issue #48642 has been automatically assigned in GitHub to PR creator.

Comment on lines 313 to 314
# TODO: How to represent in Ruby?
@values_buffer.get_string(offset, byte_width)
Copy link
Member Author

Choose a reason for hiding this comment

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

I'll make this PR ready when I solve this TODO.

Copy link
Member Author

Choose a reason for hiding this comment

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

Resolved. I used BigDecimal.

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels Dec 25, 2025
@kou kou force-pushed the ruby-decimal128-array branch from 97d18cb to 60cbada Compare December 31, 2025 02:56
@github-actions github-actions bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Dec 31, 2025
@kou kou marked this pull request as ready for review December 31, 2025 03:27
@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting change review Awaiting change review labels Dec 31, 2025
@kou
Copy link
Member Author

kou commented Dec 31, 2025

+1

@kou kou merged commit f658199 into apache:main Dec 31, 2025
17 of 19 checks passed
@kou kou removed the awaiting changes Awaiting changes label Dec 31, 2025
@kou kou deleted the ruby-decimal128-array branch December 31, 2025 05:22
@conbench-apache-arrow
Copy link

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

There weren't enough matching historic benchmark results to make a call on whether there were regressions.

The full Conbench report has more details.

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.

1 participant