Skip to content

CommitMetadata should implement a common interface like all other action metadata #14893

@hudi-bot

Description

@hudi-bot

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!

JIRA info

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions