Skip to content

Conversation

kevinjqliu
Copy link
Contributor

Rationale for this change

Follow up to #2173, the conversion as implemented is not safe since iceberg does not natively have millis precision. Timestamp values are implicitly in micros precision
This is confirmed by #2173 (comment)

Let's revert for now and follow up to figure out the right way to support millis precision.

Are these changes tested?

Are there any user-facing changes?

@kevinjqliu
Copy link
Contributor Author

moving this forward to unblock 0.10 release

@kevinjqliu kevinjqliu merged commit 4cac691 into apache:main Jul 22, 2025
10 checks passed
@kevinjqliu
Copy link
Contributor Author

thanks for the review @amogh-jahagirdar @geruh

@kevinjqliu kevinjqliu deleted the kevinjqliu/revert-time-millis branch July 22, 2025 19:09
@Fokko
Copy link
Contributor

Fokko commented Jul 30, 2025

Late to the party here. Sorry @matthias-Q for seeing your work reverted, but I agree that it is the right thing to do. Maybe we can introduce other helper methods to safely do the up-casting of millis to micros.

@matthias-Q
Copy link
Contributor

No worries, I understand that. I am also willing to help with the feature request issue. Just need a little guidance.

gabeiglio pushed a commit to Netflix/iceberg-python that referenced this pull request Aug 13, 2025
<!--
Thanks for opening a pull request!
-->

<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->

# Rationale for this change
Follow up to apache#2173, the conversion as implemented is not safe since
iceberg does not natively have `millis` precision. Timestamp values are
implicitly in `micros` precision
This is confirmed by
apache#2173 (comment)

Let's revert for now and follow up to figure out the right way to
support `millis` precision.

# 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.

5 participants