Skip to content

Conversation

guptaakashdeep
Copy link
Contributor

@guptaakashdeep guptaakashdeep commented Apr 18, 2025

Closes #1919

Rationale for this change

This is an additional good to have feature where users can convert valid Float and Double strings to Iceberg FloatType and Double Literal.

Are these changes tested?

Yes. I have also added tests for the same.

Are there any user-facing changes?

Yes. Users can cast valid float and double strings to FloatType and DecimalType

Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

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

This looks great @guptaakashdeep Thanks for fixing this 👍

@Fokko Fokko merged commit 02eecb6 into apache:main Apr 18, 2025
7 checks passed
gabeiglio pushed a commit to Netflix/iceberg-python that referenced this pull request Aug 13, 2025
Closes apache#1919

# Rationale for this change
This is an additional good to have feature where users can convert valid
Float and Double strings to Iceberg FloatType and Double Literal.

# Are these changes tested?
Yes. I have also added tests for the same.

# Are there any user-facing changes?
Yes. Users can cast valid float and double strings to `FloatType` and
`DecimalType`
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.

Allow casting from StringType to {FloatType,DoubleType}
2 participants