apache / apache/hudi

Enforce semantics on HoodieRecordPayload to allow for a consistent instantiation of custom payloads via reflection

Open
#14,473 0 comments 0 reactions 0 assignees View on GitHub
area:core from-jira priority:high type:feature
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

At the moment, the expectation is that any implementation of HoodieRecordPayload needs to have a constructor with Optional. But this is not enforced in the HoodieRecordPayload interface. We require a method to enforce a semantic that works consistently.

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-93
- Type: New Feature

---

## Comments

29/Dec/19 14:29;Pratyaksh;[~xleesf] Are you still working on this? Can I take it up? ;;;

---

31/Dec/19 12:15;xleesf;[~Pratyaksh] Feel free to grab this ticket since I am a little busy recently. And assigned to you.;;;

---

13/Mar/20 10:11;Pratyaksh;[~xleesf] [~nishith29] How do we plan to go ahead with this? Any thoughts on how can we enforce the semantic? ;;;

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the HoodieRecordPayload interface and the existing custom-payload reflection path described in the issue. Determine how the Optional constructor expectation should be enforced, then verify that custom payloads can be instantiated consistently through reflection.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.