[
https://issues.apache.org/jira/browse/SPARK-37513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan resolved SPARK-37513.
---------------------------------
Fix Version/s: 3.3.0
3.2.1
Resolution: Fixed
Issue resolved by pull request 34766
[https://github.com/apache/spark/pull/34766]
> 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
> Assignee: jiaan.geng
> Priority: Major
> Fix For: 3.3.0, 3.2.1
>
>
> {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: [email protected]
For additional commands, e-mail: [email protected]