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: [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]

Reply via email to