Jintao created HUDI-1653: ---------------------------- Summary: Add support for composite keys in NonpartitionedKeyGenerator Key: HUDI-1653 URL: https://issues.apache.org/jira/browse/HUDI-1653 Project: Apache Hudi Issue Type: Improvement Reporter: Jintao Fix For: 0.8.0
We are using _NonpartitionedKeyGenerator_ for non-partitioned tables. However, this generator has the limitation that only a single column can be specified as the record key for the table. We have some tables which need a composite key. The ask is to support composite keys for non-partitioned tables. Currently, we can use this config, which is not straight-forward. {code:java} hoodie.datasource.write.keygenerator.class: org.apache.hudi.keygen.ComplexKeyGenerator hoodie.datasource.write.partitionpath.field: "" {code} Can we add support to the NonpartitionedKeyGenerator class to improve usability? -- This message was sent by Atlassian Jira (v8.3.4#803005)