You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "ella-chao (via GitHub)" <gi...@apache.org> on 2026/04/20 11:24:36 UTC
[I] bug: HourTransform produces unexpected values for pre-epoch timestamps [iceberg-go]
ella-chao opened a new issue, #924:
URL: https://github.com/apache/iceberg-go/issues/924
### Apache Iceberg version
main (development)
### Please describe the bug 🐞
`HourTransform` was [implemented using truncated division](https://github.com/apache/iceberg-go/blob/main/transforms.go#L901-L902) instead of floored division, so pre-epoch timestamps get converted into zeros instead of negative values. See the Java implementation [here](https://github.com/apache/iceberg/blob/main/api/src/main/java/org/apache/iceberg/util/DateTimeUtil.java#L243-L255) for comparison.
--
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: issues-unsubscribe@iceberg.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] bug: HourTransform produces unexpected values for pre-epoch timestamps [iceberg-go]
Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade commented on issue #924:
URL: https://github.com/apache/iceberg-go/issues/924#issuecomment-4360683853
closing as completed
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] bug: HourTransform produces unexpected values for pre-epoch timestamps [iceberg-go]
Posted by "tanmayrauth (via GitHub)" <gi...@apache.org>.
tanmayrauth commented on issue #924:
URL: https://github.com/apache/iceberg-go/issues/924#issuecomment-4285770318
Created a [PR](https://github.com/apache/iceberg-go/pull/926) for the fix
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] bug: HourTransform produces unexpected values for pre-epoch timestamps [iceberg-go]
Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade closed issue #924: bug: HourTransform produces unexpected values for pre-epoch timestamps
URL: https://github.com/apache/iceberg-go/issues/924
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org