You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "pengzhiwei (Jira)" <ji...@apache.org> on 2021/06/22 08:46:00 UTC
[jira] [Updated] (HUDI-2053) Insert Static Partition With DateType
Return Incorrect Partition Value
[ https://issues.apache.org/jira/browse/HUDI-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
pengzhiwei updated HUDI-2053:
-----------------------------
Summary: Insert Static Partition With DateType Return Incorrect Partition Value (was: Insert Static Partition With DateType Result Incorrect Partition Value)
> 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
> 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)