[
https://issues.apache.org/jira/browse/HUDI-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HUDI-2053:
---------------------------------
Labels: pull-request-available (was: )
> Insert Static Partition With DateType Return 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
> Priority: Major
> Labels: pull-request-available
> 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)