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
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