You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2020/06/04 01:49:00 UTC

[jira] [Resolved] (SPARK-28624) make_date is inconsistent when reading from table

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

Hyukjin Kwon resolved SPARK-28624.
----------------------------------
    Fix Version/s: 3.1.0
       Resolution: Fixed

Issue resolved by pull request 28721
[https://github.com/apache/spark/pull/28721]

> make_date is inconsistent when reading from table
> -------------------------------------------------
>
>                 Key: SPARK-28624
>                 URL: https://issues.apache.org/jira/browse/SPARK-28624
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Yuming Wang
>            Assignee: Maxim Gekk
>            Priority: Major
>             Fix For: 3.1.0
>
>         Attachments: Screen Shot 2019-08-05 at 18.19.39.png, collect make_date.png
>
>
> {code:sql}
> spark-sql> create table test_make_date as select make_date(-44, 3, 15) as d;
> spark-sql> select d, make_date(-44, 3, 15) from test_make_date;
> 0045-03-15	-0044-03-15
> spark-sql>
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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