[ 
https://issues.apache.org/jira/browse/HUDI-4620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

sivabalan narayanan updated HUDI-4620:
--------------------------------------
    Story Points: 0.5

> No expected exception is thrown when create hudi table without primaryKey
> -------------------------------------------------------------------------
>
>                 Key: HUDI-4620
>                 URL: https://issues.apache.org/jira/browse/HUDI-4620
>             Project: Apache Hudi
>          Issue Type: Bug
>    Affects Versions: 0.11.0
>            Reporter: YangXuan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.12.1
>
>
> Run the following SQL statement:
>      create table hudi_test (id int, comb int, par date) using hudi 
> partitioned by(par) options (type='cow', preCombineField='comb');
> The following exception is thrown:
>     “Can't find primaryKey `uuid` in root”
> The expected exception is:
>    “java.lang.IllegalArgumentException: No `primaryKey` is specified." 
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to