pengzhiwei created HUDI-2053:
--------------------------------

             Summary: Insert Static Partition With DateType Result Incorrect 
Partition Value
                 Key: HUDI-2053
                 URL: https://issues.apache.org/jira/browse/HUDI-2053
             Project: Apache Hudi
          Issue Type: Bug
          Components: Spark Integration
            Reporter: pengzhiwei
            Assignee: pengzhiwei
             Fix For: 0.9.0


The follow code will result incorrect partition value:
{code:java}
create table h0(id int, name string, dt date) using hudi partitioned by (dt);

insert into h0 partition(dt = '2021-06-21') select 1, 'a1';

{code}
Incorrect partition value:
{code:java}
select id, name, dt from h0;

----- 1, 'a1', '1975-06-17' ----{code}



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

Reply via email to