Skip to content

Comments

[SPARK-54666][PS] Leave numeric types unchanged on to_numeric#54403

Open
devin-petersohn wants to merge 1 commit intoapache:masterfrom
devin-petersohn:devin/to_numeric_downcast
Open

[SPARK-54666][PS] Leave numeric types unchanged on to_numeric#54403
devin-petersohn wants to merge 1 commit intoapache:masterfrom
devin-petersohn:devin/to_numeric_downcast

Conversation

@devin-petersohn
Copy link
Contributor

What changes were proposed in this pull request?

Fix a bug where numeric Series datatypes would change to float (and potentially lose precision) on to_numeric.

Why are the changes needed?

It is a bug, it doesn't match pandas behavior or user expectations.

Does this PR introduce any user-facing change?

Yes, fix the bug

How was this patch tested?

CI

Was this patch authored or co-authored using generative AI tooling?

Co-authored-by: Claude Sonnet 4.5

Signed-off-by: Devin Petersohn <devin.petersohn@gmail.com>
Co-authored-by: Devin Petersohn <devin.petersohn@snowflake.com>
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.

1 participant