Skip to content

Conversation

@Fokko
Copy link
Contributor

@Fokko Fokko commented Aug 7, 2025

Rationale for this change

I noticed we just passed in the value, without setting the type explicitly. By default, PyArrow will for example upscale 1 to an int64 field, while the column is of type int32 in the table.

Are these changes tested?

Are there any user-facing changes?

Copy link
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

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

LGTM
i checked that these are the only 2 usage of pa.repeat
https://github.com/search?q=repo%3Aapache%2Ficeberg-python%20pa.repeat&type=code

@Fokko Fokko merged commit 00222a4 into apache:main Aug 7, 2025
10 checks passed
@Fokko Fokko deleted the fd-type-expl branch August 7, 2025 17:42
gabeiglio pushed a commit to Netflix/iceberg-python that referenced this pull request Aug 13, 2025
# Rationale for this change

I noticed we just passed in the value, without setting the type
explicitly. By default, PyArrow will for example upscale 1 to an int64
field, while the column is of type int32 in the table.

# Are these changes tested?

# Are there any user-facing changes?

<!-- In the case of user-facing changes, please add the changelog label.
-->
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.

2 participants