ArnavBalyan opened a new pull request, #9203:
URL: https://github.com/apache/paimon/pull/9203

   ### Purpose
    - Casting an epoch timestamp to date truncates negative epoch milliseconds 
toward zero.
    - This means `1969-12-31 23:59:59` wrongly becomes 1970-01-01 and shifts 
other timestamps forward by one day. (for all values before 1970)
    - Fix the conversion by using Math.floorDiv to calculate the correct signed 
epoch day.
   
   ### Tests
    - UT
   


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

Reply via email to