[ 
https://issues.apache.org/jira/browse/SPARK-33474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17235202#comment-17235202
 ] 

Apache Spark commented on SPARK-33474:
--------------------------------------

User 'AngersZhuuuu' has created a pull request for this issue:
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
>            Priority: Major
>
> {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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to