hudi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pratyaksh Sharma (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HUDI-93) Enforce semantics on HoodieRecordPayload to allow for a consistent instantiation of custom payloads via reflection
Date Fri, 13 Mar 2020 10:12:00 GMT

    [ https://issues.apache.org/jira/browse/HUDI-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17058590#comment-17058590
] 

Pratyaksh Sharma commented on HUDI-93:
--------------------------------------

[~xleesf] [~nishith29] How do we plan to go ahead with this? Any thoughts on how can we enforce
the semantic? 

> Enforce semantics on HoodieRecordPayload to allow for a consistent instantiation of custom
payloads via reflection
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: HUDI-93
>                 URL: https://issues.apache.org/jira/browse/HUDI-93
>             Project: Apache Hudi (incubating)
>          Issue Type: New Feature
>          Components: Common Core
>            Reporter: Nishith Agarwal
>            Assignee: Pratyaksh Sharma
>            Priority: Major
>
> At the moment, the expectation is that any implementation of HoodieRecordPayload needs
to have a constructor with Optional<GenericRecord>. But this is not enforced in the HoodieRecordPayload
interface. We require a method to enforce a semantic that works consistently.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message