yaooqinn commented on issue #26418: [SPARK-29783][SQL] Support SQL Standard/ISO_8601 output style for interval type URL: https://github.com/apache/spark/pull/26418#issuecomment-552885115 > -2 day 23 hour ```sql postgres=# select interval '-2 -23:00:00'; interval ------------- -2 23:00:00 (1 row) postgres=# select interval '-2 23:00:00'; interval ------------- -2 23:00:00 (1 row) postgres=# select interval '-2 +23:00:00'; interval ------------------- +0-0 -2 +23:00:00 (1 row) postgres=# select interval '-2 days 23 hours' ; interval ------------- -2 23:00:00 (1 row) postgres=# select interval '-2 days -23 hours' ; interval ------------- -2 23:00:00 (1 row) ``` totally confused with Postgresās output, the proper way I guess we need a explictly '+' from time part @cloud-fan
---------------------------------------------------------------- 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]
