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

[jira] [Updated] (SPARK-37513) date +/- interval with only day-time fields returns different data type between Spark3.2 and Spark3.1

     [ https://issues.apache.org/jira/browse/SPARK-37513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jiaan.geng updated SPARK-37513:
-------------------------------
    Summary: date +/- interval with only day-time fields returns different data type between Spark3.2 and Spark3.1  (was: Additive expression of date and interval returns different data type between Spark3.2 and Spark3.1)

> date +/- interval with only day-time fields returns different data type between Spark3.2 and Spark3.1
> -----------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-37513
>                 URL: https://issues.apache.org/jira/browse/SPARK-37513
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: jiaan.geng
>            Priority: Major
>
> {code:java}
> select date '2011-11-11' + interval 12 hours;
> {code}
>  Previously returned the date type, now it returns the timestamp type.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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