You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Manoj Govindassamy (Jira)" <ji...@apache.org> on 2021/10/22 18:49:00 UTC
[jira] [Created] (HUDI-2604) CommitMetadata should implement a
common interface like all other action metadata
Manoj Govindassamy created HUDI-2604:
----------------------------------------
Summary: CommitMetadata should implement a common interface like all other action metadata
Key: HUDI-2604
URL: https://issues.apache.org/jira/browse/HUDI-2604
Project: Apache Hudi
Issue Type: Improvement
Reporter: Manoj Govindassamy
Assignee: Manoj Govindassamy
Attachments: image-2021-10-22-11-42-48-389.png
Except for HoodieCommitMetadata, all other instant action metadata are avro schema type.
https://issues.apache.org/jira/browse/HUDI-2468 needs pass in all action metadata to metadata table creator to decide on whether bootstrapping is needed or not. Having a common type would be easier for all the actions to pass around the metadata. Except for HoodieCommitMetadata all others are already Avro's SpecificRecordBase type making them easier to pass around with generics. Need to extend HoodieCommitMetadata also to this type so that we can remove the redundant getMetadataWriter()/getMetadataWriter(metadata) APIs.
!image-2021-10-22-11-42-48-389.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)