Skip to content

fix(arrow/array): handle exponent notation for unmarshal int - #662

Merged
zeroshade merged 1 commit into
apache:mainfrom
zeroshade:exponential-json-fix
Feb 11, 2026
Merged

zeroshade merged 1 commit into
apache:mainfrom
zeroshade:exponential-json-fix

Conversation

@zeroshade

Copy link
Copy Markdown
Member

Rationale for this change

fixes #474

What changes are included in this PR?

Modify unmarshal methods to try parseint/parseuint first, and to fallback to ParseFloat to handle exponential notation.

Are these changes tested?

A test is added to confirm

Are there any user-facing changes?

Just the bug fix

@zeroshade
zeroshade requested review from amoeba, kou and lidavidm February 10, 2026 20:59

@kou kou 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.

+1

@zeroshade
zeroshade merged commit 8d81fc3 into apache:main Feb 11, 2026
23 checks passed
@zeroshade
zeroshade deleted the exponential-json-fix branch March 27, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

array.JSONReader error on unmarshal data in exponent notation to int64 field

3 participants