comphead commented on issue #7802:
URL: 
https://github.com/apache/arrow-datafusion/issues/7802#issuecomment-1759782068

   it might be a bigger problem..... 
   
   ```
    select to_timestamp_millis(-621257472);
   +----------------------------------------+
   | to_timestamp_millis(Int64(-621257472)) |
   +----------------------------------------+
   | 1969-12-24T19:25:42.528                |
   +----------------------------------------+
   1 row in set. Query took 0.002 seconds.
   
   ❯ select to_timestamp_micros(-621257472);
   +----------------------------------------+
   | to_timestamp_micros(Int64(-621257472)) |
   +----------------------------------------+
   | 1969-12-31T23:49:38.742528             |
   +----------------------------------------+
   1 row in set. Query took 0.005 seconds.
   
   ❯ select to_timestamp_micros(-621257472000);
   +-------------------------------------------+
   | to_timestamp_micros(Int64(-621257472000)) |
   +-------------------------------------------+
   | 1969-12-24T19:25:42.528                   |
   +-------------------------------------------+
   1 row in set. Query took 0.002 seconds.
   ```
   


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