Omega359 commented on PR #16639:
URL: https://github.com/apache/datafusion/pull/16639#issuecomment-3027948414

   I just did a comparison of to_timestamp calls that were in the slt file that 
were changed to what postgresql generates and they are different:
   
   ```sql
   SELECT to_timestamp(1.1) as a, to_timestamp(1.23456789) as b, 
to_timestamp(0.0) as c, to_timestamp(1.23456789) as d, 
to_timestamp(123456789.123456789) as e;
   ```
   | a | b | c | d | e |
   | :--- | :--- | :--- | :--- | :--- |
   | 1970-01-01 00:00:01.100000 +00:00 | 1970-01-01 00:00:01.234568 +00:00 | 
1970-01-01 00:00:00.000000 +00:00 | 1970-01-01 00:00:01.234568 +00:00 | 
1973-11-29 21:33:09.123457 +00:00 |
   


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