prashantwason commented on code in PR #8758:
URL: https://github.com/apache/hudi/pull/8758#discussion_r1228624611
##########
hudi-client/hudi-client-common/src/test/java/org/apache/hudi/common/testutils/HoodieMetadataTestTable.java:
##########
@@ -86,15 +89,15 @@ public HoodieCommitMetadata doWriteOperation(String
commitTime, WriteOperationTy
public HoodieTestTable moveInflightCommitToComplete(String instantTime,
HoodieCommitMetadata metadata) throws IOException {
super.moveInflightCommitToComplete(instantTime, metadata);
if (writer != null) {
- writer.update(metadata, instantTime, false);
+ writer.update(metadata, HoodieListData.eager(Collections.EMPTY_LIST),
instantTime);
Review Comment:
The RI code is using HoodieData APIs instead of casting the HoodieData into
HoodieJavaRDD. This keeps the code common across Spark and Flink.
See HoodieBackedTableMetadataWriter::getRecordIndexUpdates()
--
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]