You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (Jira)" <ji...@apache.org> on 2020/11/18 03:22:00 UTC

[jira] [Created] (SPARK-33474) Incorrect value when inserting into date type partition table with date type value

Yuming Wang created SPARK-33474:
-----------------------------------

             Summary: 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



{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	NUL
{noformat}





--
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