[ 
https://issues.apache.org/jira/browse/SPARK-29671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16963375#comment-16963375
 ] 

Maxim Gekk commented on SPARK-29671:
------------------------------------

For example, PostgreSQL displays intervals like:
{code}
maxim=# select interval '1010 year 9 month 8 day 7 hour 6 minute -5 second 4 
millisecond -3 microseconds';
                 interval
------------------------------------------
 1010 years 9 mons 8 days 07:05:55.003997
(1 row)
{code}
but this requires "normalization" because time fields cannot be negative.

> Change format of interval string
> --------------------------------
>
>                 Key: SPARK-29671
>                 URL: https://issues.apache.org/jira/browse/SPARK-29671
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Maxim Gekk
>            Priority: Minor
>
> The ticket aims to improve format of interval representation as a string. See 
> https://github.com/apache/spark/pull/26313#issuecomment-547820035



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to