dongjoon-hyun commented on issue #25225: [SPARK-28469][SQL] Change CalendarIntervalType's readable string representation from calendarinterval to interval URL: https://github.com/apache/spark/pull/25225#issuecomment-513973108 Although PostgreSQL has several variants. In Spark side, we have no such things. So, this will not be misleading. How do you think about this PR, @gatorsmile ? ``` postgres=# CREATE TABLE T AS SELECT INTERVAL '1' YEAR A, INTERVAL '1' MONTH B, INTERVAL '1' DAY C, INTERVAL '1' HOUR D, INTERVAL '1' MINUTE E, INTERVAL '1' SECOND F, INTERVAL '1 day'; SELECT 1 postgres=# \d T; Table "public.t" Column | Type | Collation | Nullable | Default ----------+-----------------+-----------+----------+--------- a | interval year | | | b | interval month | | | c | interval day | | | d | interval hour | | | e | interval minute | | | f | interval second | | | interval | interval | | | ```
---------------------------------------------------------------- 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]
