Reduce reflection when type config is used instead of class
Open
area:code-quality
area:config
from-jira
priority:medium
type:improvement
- Dominant language
- Java
- Stars
- 6.2k
- Forks
- 2.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 111
Description
After we introduce type configs in HUDI-5761, we can avoid using reflection to create the class for the named classes. For custom classes we will still need to use reflection.
## JIRA info
- Link: https://issues.apache.org/jira/browse/HUDI-6026
- Type: Improvement
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading HUDI-5761 and the linked HUDI-6026 issue to understand the type-config design and the named-versus-custom class cases. Trace the existing class creation path in the affected Hudi code, then verify that named classes avoid reflection while custom classes retain it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- data-engineering
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100