yaooqinn commented on issue #26359: [SPARK-29713][SQL] Support Interval Unit Abbreviations in Interval Literals URL: https://github.com/apache/spark/pull/26359#issuecomment-552413187 Without adding extra keywords to parser to support abbreviations and plurals, we need to directly parse the interval string instead of delegating it to the catalyst parser again. Features pending on this: 1. support sql standard interval input as typed literals, i.e. ```sql postgres=# select interval '1-10 5 1:1:1'; interval -------------------------------- 1 year 10 mons 5 days 01:01:01 (1 row) ``` 2. support abbreviation format in casting to strings gently ping @cloud-fan again.
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
