XuQianJin-Stars commented on a change in pull request #4453:
URL: https://github.com/apache/hudi/pull/4453#discussion_r775749129
##########
File path:
hudi-sync/hudi-hive-sync/src/test/java/org/apache/hudi/hive/testutils/HiveTestUtil.java
##########
@@ -176,6 +178,16 @@ public static void createCOWTable(String instantTime, int
numberOfPartitions, bo
createCommitFile(commitMetadata, instantTime);
}
+ public static void createReplaceCommit(String instantTime, String partitions)
+ throws IOException {
+ HoodieReplaceCommitMetadata replaceCommitMetadata = new
HoodieReplaceCommitMetadata();
+
replaceCommitMetadata.setOperationType(WriteOperationType.DELETE_PARTITION);
Review comment:
Here as a method to pass parameters?
createReplaceCommit(String instantTime, String partitions) ->
createReplaceCommit(String instantTime, String partitions, WriteOperationType
OperationType)
--
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]