[
https://issues.apache.org/jira/browse/HUDI-4558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HUDI-4558:
---------------------------------
Labels: pull-request-available (was: )
> lost 'hoodie.table.keygenerator.class' in hoodie.properties
> -----------------------------------------------------------
>
> Key: HUDI-4558
> URL: https://issues.apache.org/jira/browse/HUDI-4558
> Project: Apache Hudi
> Issue Type: Bug
> Components: flink, flink-sql
> Reporter: wuwenchi
> Priority: Major
> Labels: pull-request-available
>
> I created a hudi table through flinksql and specified
> hoodie.datasource.write.keygenerator.type as complex, because in document,
> hoodie.datasource.write.keygenerator.type is "Easily configure one the
> built-in key generators, instead of specifying the key generator class".
> But in hoodie.properties, I did not see the property
> hoodie.table.keygenerator.class which is required in document.
> {code:sql}
> create table tb1(
> pk1 string,
> par2 string,
> PRIMARY KEY(pk1) NOT ENFORCED
> )
> PARTITIONED BY (`par2`)
> with (
> 'connector' = 'hudi',
> 'path' = '.....',
> 'connector' = 'hudi',
> 'hoodie.datasource.write.keygenerator.type' = 'COMPLEX',
> 'table.type' = 'MERGE_ON_READ',
> 'write.operation' = 'upsert'
> )
> {code}
> {panel:title=}
> hoodie.table.keygenerator.class
> Key Generator class property for the hoodie table
> Default Value: N/A ({*}{color:#FF0000}Required{color}{*})
> Config Param: KEY_GENERATOR_CLASS_NAME
> {panel}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)