[ 
https://issues.apache.org/jira/browse/HUDI-5374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lokesh Jain updated HUDI-5374:
------------------------------
    Description: 
Currently the configs hoodie.datasource.write.keygenerator.class and 
hoodie.datasource.write.keygenerator.type are used in multiple areas to create 
a key generator. The idea is to reuse the *KeyGeneratorFactory classes for 
instantiating KeyGenerator.

The Jira adds a KeyGeneratorFactory base class and 
HoodieSparkKeyGeneratorFactory, HoodieAvroKeyGeneratorFactory extends this base 
class. These classes are then used in code for creating KeyGenerator.

Based on Github issue: [https://github.com/apache/hudi/issues/7291]

  was:
Currently the configs hoodie.datasource.write.keygenerator.class and 
hoodie.datasource.write.keygenerator.type are used in multiple areas to create 
a key generator. The idea is to reuse the *KeyGeneratorFactory classes for 
instantiating KeyGenerator.

The Jira adds a KeyGeneratorFactory base class and 
HoodieSparkKeyGeneratorFactory, HoodieAvroKeyGeneratorFactory extends this base 
class. These classes are then used in code for creating KeyGenerator.


> Use KeyGeneratorFactory class for instantiating a KeyGenerator
> --------------------------------------------------------------
>
>                 Key: HUDI-5374
>                 URL: https://issues.apache.org/jira/browse/HUDI-5374
>             Project: Apache Hudi
>          Issue Type: Bug
>            Reporter: Lokesh Jain
>            Assignee: Lokesh Jain
>            Priority: Major
>             Fix For: 0.13.0
>
>
> Currently the configs hoodie.datasource.write.keygenerator.class and 
> hoodie.datasource.write.keygenerator.type are used in multiple areas to 
> create a key generator. The idea is to reuse the *KeyGeneratorFactory classes 
> for instantiating KeyGenerator.
> The Jira adds a KeyGeneratorFactory base class and 
> HoodieSparkKeyGeneratorFactory, HoodieAvroKeyGeneratorFactory extends this 
> base class. These classes are then used in code for creating KeyGenerator.
> Based on Github issue: [https://github.com/apache/hudi/issues/7291]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to