Skip to content

Test pr 1835 - #1836

Closed
sfc-gh-pfus wants to merge 2 commits into
masterfrom
test_pr_1835
Closed

sfc-gh-pfus wants to merge 2 commits into
masterfrom
test_pr_1835

Conversation

@sfc-gh-pfus

Copy link
Copy Markdown
Collaborator

Description

SNOW-XXX Please explain the changes you made here.

Checklist

  • Added proper logging (if possible)
  • Created tests which fail without the change (if possible)
  • Extended the README / documentation, if necessary

tanner-lai and others added 2 commits August 7, 2026 07:10
Both non-higher-precision conversion paths for fixed-point values routed the
exact unscaled integer through a binary float before formatting it, silently
rounding values carrying more significant digits than the float's mantissa could
hold. arrowDecimal128ToValue divided using a 64-bit big.Float, so NUMBER(20,10)
holding 1234567890.1234567890 returned 1234567890.1234567889; arrowIntToValue
divided as float64, so NUMBER(18,4) holding 12345678901234.5678 returned
12345678901234.5684. Both now format from the unscaled integer via
decimal128.ToString, as the scale == 0 branch already did. The higherPrecision
paths still return *big.Float and are left unchanged, since that return type is
approximate by contract.
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants