comphead opened a new issue, #8336: URL: https://github.com/apache/arrow-datafusion/issues/8336
### Describe the bug Timestamp literal conversion fails to be created from extreme values. ### To Reproduce ``` ❯ SELECT to_timestamp(-62125747200); Optimizer rule 'simplify_expressions' failed caused by Arrow error: Compute error: Overflow happened on: -62125747200 * 1000000000 ❯ select to_timestamp(1926632005177); Optimizer rule 'simplify_expressions' failed caused by Arrow error: Compute error: Overflow happened on: 1926632005177 * 1000000000 ``` ### Expected behavior The cast should happen PG returns ``` 0001-04-25T00:00:00 +63022-07-16T12:59:37 ``` respectfully ### Additional context Part of #8282 -- 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]
