陈磊 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)

Reply via email to