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

Takeshi Yamamuro resolved SPARK-33474.
--------------------------------------
    Fix Version/s: 3.2.0
         Assignee: angerszhu
       Resolution: Fixed

Resolved by https://github.com/apache/spark/pull/30421

> Incorrect value when inserting into date type partition table with date type 
> value
> ----------------------------------------------------------------------------------
>
>                 Key: SPARK-33474
>                 URL: https://issues.apache.org/jira/browse/SPARK-33474
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Yuming Wang
>            Assignee: angerszhu
>            Priority: Major
>             Fix For: 3.2.0
>
>
> {code:java}
> create table test_part (name STRING) partitioned by (part date) STORED AS 
> PARQUET;
> insert into test_part partition(part = date '2019-01-02') values('a');
> select * from test_part;
> {code}
> {noformat}
> spark-sql> select * from test_part;
> a     NULL
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to