cloud-fan commented on pull request #32940: URL: https://github.com/apache/spark/pull/32940#issuecomment-866553421
 Let's follow ANSI first and make it super strict for now: `interval '1-1' year` and `interval '1-1' month` should both fail. We can be more flexible later if there are user requests. According to ANSI, CAST string to interval should follow the literal rule  -- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
