[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to