Skip to content

Instantly share code, notes, and snippets.

View TengHuo's full-sized avatar
🎯
Focusing

Teng TengHuo

🎯
Focusing
View GitHub Profile
@TengHuo
TengHuo / HoodieRecordPayload.java
Last active November 4, 2022 03:36
Hudi HoodieRecordPayload
public interface HoodieRecordPayload<T extends HoodieRecordPayload> extends Serializable {
/*...*/
// 2 new method we added
/**
* This method can tell HoodieBaseRelation if column prune can be applied for this payload implementation.
* By default, column prune will be used in MOR table using OverwriteWithLatestAvroPayload
*
* @return if this payload can apply column prune when query MOR table
*/