You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "angerszhu (Jira)" <ji...@apache.org> on 2021/07/20 06:14:00 UTC

[jira] [Commented] (SPARK-36029) Interval str should handle start field == end Field

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

angerszhu commented on SPARK-36029:
-----------------------------------

This bug has been fixed by [https://github.com/apache/spark/pull/32949,] close it

> Interval str should handle start field == end Field
> ---------------------------------------------------
>
>                 Key: SPARK-36029
>                 URL: https://issues.apache.org/jira/browse/SPARK-36029
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: angerszhu
>            Priority: Major
>
> {code:java}
> -- !query
> SELECT INTERVAL '-9223372036854.775808' SECOND
> -- !query schema
> struct<INTERVAL '-2562047788 hours -54.775808 seconds':interval>
> -- !query output
> -2562047788 hours -54.775808 seconds
> {code}



--
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