You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "陈磊 (Jira)" <ji...@apache.org> on 2024/03/08 07:15:00 UTC
[jira] [Created] (HUDI-7492) When using Flinkcatalog to create hudi multiple partitions or multiple primary keys, the keygenerator generation is incorrect
陈磊 created HUDI-7492:
------------------------
Summary: When using Flinkcatalog to create hudi multiple partitions or multiple primary keys, the keygenerator generation is incorrect
Key: HUDI-7492
URL: https://issues.apache.org/jira/browse/HUDI-7492
Project: Apache Hudi
Issue Type: Bug
Reporter: 陈磊
When using Flinkcatalog to create hudi multiple partitions or multiple primary keys, the keygenerator generation is incorrect.
{code:sql}
create table if not exists hudi_catalog.source1.hudi_key_generator_test
(
id int,
name varchar,
age varchar,
sex int,
primary key (id) not enforced
) partitioned by (`sex`, `age`) with (
'connector' = 'hudi'
);
{code}
.hoodie/hoodie.properties
{panel:title=hoodie.properties}
hoodie.table.keygenerator.class=org.apache.hudi.keygen.SimpleAvroKeyGenerator
{panel}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)