You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/06/08 12:11:00 UTC

[jira] [Commented] (SPARK-29394) Support ISO 8601 format for intervals

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

Apache Spark commented on SPARK-29394:
--------------------------------------

User 'fornaix' has created a pull request for this issue:
https://github.com/apache/spark/pull/28755

> Support ISO 8601 format for intervals
> -------------------------------------
>
>                 Key: SPARK-29394
>                 URL: https://issues.apache.org/jira/browse/SPARK-29394
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Maxim Gekk
>            Priority: Major
>
> Interval values can also be written as ISO 8601 time intervals, using either the “format with designators” of the standard's section 4.4.3.2 or the “alternative format” of section 4.4.3.3. 
>  For example:
> |P1Y2M3DT4H5M6S|ISO 8601 “format with designators”|
> |P0001-02-03T04:05:06|ISO 8601 “alternative format”: same meaning as above|



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

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