danny0405 commented on code in PR #13229:
URL: https://github.com/apache/hudi/pull/13229#discussion_r2077183939
##########
hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/metadata/FlinkHoodieBackedTableMetadataWriter.java:
##########
@@ -199,6 +199,18 @@ protected HoodieData<HoodieRecord>
getExpressionIndexRecords(List<Pair<String, P
throw new HoodieNotSupportedException("Flink metadata table does not
support expression index yet.");
}
+ protected void bulkInsertAndCommit(BaseHoodieWriteClient<?,
List<HoodieRecord>, ?, List<WriteStatus>> writeClient, String instantTime,
List<HoodieRecord> preppedRecordInputs,
+ Option<BulkInsertPartitioner>
bulkInsertPartitioner) {
+ List<WriteStatus> writeStatusJavaRDD =
writeClient.bulkInsertPreppedRecords(preppedRecordInputs, instantTime,
bulkInsertPartitioner);
+ writeClient.commit(instantTime, writeStatusJavaRDD);
Review Comment:
then add inline completion API for it, let's eliminate these override
methods in metadata writer.
--
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]