yihua commented on a change in pull request #4856:
URL: https://github.com/apache/hudi/pull/4856#discussion_r828561373
##########
File path:
hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/client/HoodieFlinkWriteClient.java
##########
@@ -363,7 +365,7 @@ public void completeCompaction(
// Do not do any conflict resolution here as we do with regular writes.
We take the lock here to ensure all writes to metadata table happens within a
// single lock (single writer). Because more than one write to metadata
table will result in conflicts since all of them updates the same partition.
table.getMetadataWriter(compactionInstant.getTimestamp()).ifPresent(
- w -> w.update(metadata, compactionInstant.getTimestamp(),
table.isTableServiceAction(compactionInstant.getAction())));
+ w -> ((HoodieTableMetadataWriter) w).update(metadata,
compactionInstant.getTimestamp(),
table.isTableServiceAction(compactionInstant.getAction())));
Review comment:
Per discussion, this is needed due to removal of generics.
--
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]