BigData / Apache Hudi Interview Questions
What is a payload class in Hudi?
A payload class defines the exact merge logic Hudi applies when an incoming record shares a HoodieKey with an existing record — in other words, it decides which values win when an update is applied.
The default, OverwriteWithLatestAvroPayload, simply keeps whichever record has the latest value in a configured "precombine" field (commonly an event or update timestamp). Other built-in and custom payload classes support behaviors like partial-field merges, keeping the earliest record instead of the latest, or custom business logic — making the payload class a key extension point for teams with non-default merge requirements.
More Related questions...