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 06:33:00 UTC

[jira] [Created] (SPARK-37513) additive expression of date and interval returns different data type between Spark3.2 and Spark3.1

jiaan.geng created SPARK-37513:
----------------------------------

             Summary: additive expression of date and interval 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



{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