Skip to content

MINOR: Preserve Decimal256 type metadata in promoted union writers - #1519

Open
robert3005 wants to merge 1 commit into
apache:mainfrom
robert3005:rk/fix-decimal256-writer-promotion
Open

robert3005 wants to merge 1 commit into
apache:mainfrom
robert3005:rk/fix-decimal256-writer-promotion

Conversation

@robert3005

Copy link
Copy Markdown
Contributor

What's Changed

split from #1228, in cases like following

writer.startList();
writer.decimal().writeDecimal(new BigDecimal("123.45"));
writer.decimal256().writeDecimal256(
    new BigDecimal("123456789012345678901234567890123456789.01"));

we would lose the fact that 2nd values was Decimal256

@lidavidm lidavidm changed the title [MINOR] Preserve Decimal256 type metadata in promoted union writers MINOR: Preserve Decimal256 type metadata in promoted union writers Nov 24, 2026
@lidavidm lidavidm added the bug-fix PRs that fix a big. label Nov 24, 2026

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.

(There's no existing test class?)

@github-actions github-actions Bot added this to the 20.1.0 milestone Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix PRs that fix a big.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants