gabeiglio opened a new pull request, #3780:
URL: https://github.com/apache/iceberg-python/pull/3780
<!--
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 #3758
# Rationale for this change
_build_delete_files_partition_predicate collects data_file.partition records
from the deleted files. Those records hold already transformed values, but it
passed them to Transaction._build_partition_predicate, which names fields by
the source column. So the day ordinal got interpreted as a raw timestamp and
transformed a second time.
## Are these changes tested?
Yes added a regression test for upsert.
## Are there any user-facing changes?
Yes, it fixes the undefined behavior in upsert
<!-- In the case of user-facing changes, please add the changelog label. -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]