jhorstmann commented on issue #1992:
URL: 
https://github.com/apache/arrow-datafusion/issues/1992#issuecomment-1288095217

   > PG not support negative timestamp
   
   This sounded surprising, it seems what is not supported is the input syntax 
starting with a minus sign. Negative timestamps are supported, just with a 
different syntax:
   
   ```
   SELECT '2022-10-01 BC'::timestamp;
   -002021-10-01T00:00:00.000Z
   SELECT EXTRACT(YEAR FROM '2022-10-01 BC'::timestamp);
   -2022
   ```


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