prashantwason commented on code in PR #18183:
URL: https://github.com/apache/hudi/pull/18183#discussion_r2910861785
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieClient.java:
##########
@@ -307,4 +310,43 @@ protected boolean
isStreamingWriteToMetadataEnabled(HoodieTable table) {
return config.isMetadataTableEnabled()
&&
config.isMetadataStreamingWritesEnabled(table.getMetaClient().getTableConfig().getTableVersion());
}
+
+ // Allowlist of key config properties to include in commit metadata
+ private static final String[] KEY_CONFIG_PROPERTIES = {
Review Comment:
Done. Moved the key config properties allowlist and the metadata enrichment
logic into a new `CommitMetadataProperties` class.
`BaseHoodieClient.updateExtraMetadata()` now delegates to
`CommitMetadataProperties.enrich()`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]