[
https://issues.apache.org/jira/browse/HUDI-4093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HUDI-4093:
---------------------------------
Labels: pull-request-available (was: )
> If the value of the partition column is null or abnormal, the insert
> operation throws NPE.
> ------------------------------------------------------------------------------------------
>
> Key: HUDI-4093
> URL: https://issues.apache.org/jira/browse/HUDI-4093
> Project: Apache Hudi
> Issue Type: Bug
> Reporter: YangXuan
> Priority: Major
> Labels: pull-request-available
>
> 1、First,we need to create a hudi table by spark-sql command like this:
> create table hudi_test (id int, comb long, name string, mark string, salary
> double, time timestamp, dt date) using hudi partitioned by(dt)
> options(primaryKey='id', preCombineField='comb');
> 2、Then, we insert three records into the table like this:
> insert into hudi_test3 values (1,10,'张三','总裁',999999.99,'2021-09-06
> 19:43:00','2021-09-06'),(2,20,'李四','秘书',8888.88,'2021-09-06
> 19:44:00','2021-09-06'),(3,30,'王五',null,null,null,null);
> 3、After performing steps 1 and 2, we will encounter NPE
--
This message was sent by Atlassian Jira
(v8.20.7#820007)