You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2021/12/01 08:22:00 UTC
[jira] [Assigned] (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 ]
Wenchen Fan reassigned SPARK-37513:
-----------------------------------
Assignee: jiaan.geng
> 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
>
> {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