samuelcolvin opened a new issue, #11271: URL: https://github.com/apache/datafusion/issues/11271
### Describe the bug There's a few issues with casting to an `interval`. Specifically: * `'1'::interval` -> `0 years 1 mons 0 days 0 hours 0 mins 0.000000000 secs` - postgres returns `1s`, I think other databases do the same - this is the worst offender IMHO * `'1s'::interval` gives an error, with postgres it returns `1s` * `'1second'::interval` gives an error, with postgres it returns `1s` Happy to try to fix this if there's willingness? In particular, I think `'1'::interval` should be fixed asap. ### To Reproduce _No response_ ### Expected behavior _No response_ ### Additional context _No response_ -- 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: github-unsubscr...@datafusion.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org