Skip to content

GH-1228: Add the Decimal32 value vector - #1227

Open
robert3005 wants to merge 1 commit into
apache:mainfrom
robert3005:rk/decimal3264
Open

robert3005 wants to merge 1 commit into
apache:mainfrom
robert3005:rk/decimal3264

Conversation

@robert3005

@robert3005 robert3005 commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

Add Decimal32Vector for in-memory 32-bit decimals with up to nine digits of precision. This change registers the vector type and covers BigDecimal access, holders, transfers, and validation. The union reader sizes its lookup array from the registered minor types.

This is the first part of #1228. Decimal64 vector support and binary IPC support for both widths follow in separate changes.

The original implementation was authored with help from Claude Fable 5. Codex helped split and validate this change.

@robert3005 robert3005 changed the title Arrow Format 1.5: Decimal32/Decimal64 support GH-1228: Arrow Format 1.5: Decimal32/Decimal64 support Jul 14, 2026
@github-actions

This comment has been minimized.

@robert3005

Copy link
Copy Markdown
Contributor Author

I don't think I am allowed to add labels, but this should be an 'enhancement'

@lidavidm lidavidm added the enhancement PRs that add or improve features. label Jul 14, 2026
@github-actions github-actions Bot added this to the 20.0.0 milestone Jul 14, 2026
@lidavidm
lidavidm requested a balanced review from Copilot August 25, 2026 00:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@lidavidm

Copy link
Copy Markdown
Member

@robert3005 can you rebase? CI did not trigger

@robert3005

Copy link
Copy Markdown
Contributor Author

rebased

@jbonofre jbonofre removed this from the 20.0.0 milestone Nov 16, 2026
@robert3005

Copy link
Copy Markdown
Contributor Author

I think this pr is too big as it is right now. I am submitting smaller patches one by one. I'm limited by being allowed only 2 concurrent open prs at a time.

Right now I focused on fixing all decimal handling bugs that I found while implementing this

@jbonofre

Copy link
Copy Markdown
Member

@robert3005 yes that would be great! I'm ready to review the smaller PRs. Please let me know if I can help in any way.

@Yash-Kothari

Copy link
Copy Markdown

@robert3005 if you have a list then i can also help. Very keen on getting this.

@github-actions github-actions Bot added this to the 20.1.0 milestone Nov 26, 2026
@robert3005 robert3005 changed the title GH-1228: Arrow Format 1.5: Decimal32/Decimal64 support GH-1228: Add the Decimal32 value vector Nov 26, 2026
@robert3005

Copy link
Copy Markdown
Contributor Author

I have made this the minimal change, to make them somewhat reviewable. This is now just Decimal32 value vector and shared machinery changes

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

Labels

enhancement PRs that add or improve features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants