Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
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.
hoodie.datasource.write.keygenerator.class: org.apache.hudi.keygen.ComplexKeyGenerator hoodie.datasource.write.partitionpath.field: ""
Can we add support to the NonpartitionedKeyGenerator class to improve usability?
Attachments
Issue Links
- links to