xicm commented on code in PR #8163:
URL: https://github.com/apache/hudi/pull/8163#discussion_r1141647554
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/compact/CompactHelpers.java:
##########
@@ -65,6 +66,7 @@ public HoodieCommitMetadata createCompactionMetadata(
metadata.addWriteStat(stat.getPartitionPath(), stat);
}
metadata.addMetadata(org.apache.hudi.common.model.HoodieCommitMetadata.SCHEMA_KEY,
schema);
+ metadata.setOperationType(WriteOperationType.COMPACT);
Review Comment:
When I run test in TestWriteMergeOnRead, I find compaction in flink doesn't
add operationType to commit meta data.
--
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]