apache / apache/hudi

Use KeyGeneratorFactory class for instantiating a KeyGenerator

Open
#15,625 1 comment 0 reactions 1 assignee Claimed by @nsivabalan View on GitHub
from-jira priority:high status:pr-available type:bug
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

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]

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-5374
- Type: Bug
- Fix version(s):
- 1.1.0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.