apache / apache/hudi

Enhance keygen class validation

Open
#15,553 0 comments 0 reactions 0 assignees View on GitHub
area:config from-jira priority:high type:improvement
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 4h
Merged PRs (30d)
112

Description

Some in-code validations can be added to early alert users who set keygen configs improperly. For example, in TimestampBased keygen, output format cannot be empty.

We should audit all built-in keygen classes and add UTs and proper validations. This is to improve usability and save time in troubleshooting when misconfig happened.

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-5181
- Type: Improvement

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by auditing the built-in keygen classes, using TimestampBased keygen's empty output format as the concrete example. Add unit tests and validations for improperly configured keygens, and verify that misconfiguration is reported early.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.