nsivabalan commented on code in PR #13976:
URL: https://github.com/apache/hudi/pull/13976#discussion_r2393069271


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/client/SparkRDDTableServiceClient.java:
##########
@@ -82,7 +82,8 @@ protected HoodieWriteMetadata<HoodieData<WriteStatus>> 
partialUpdateTableMetadat
       HoodieWriteMetadata<HoodieData<WriteStatus>> writeMetadata,
       String instantTime) {
     if (isStreamingWriteToMetadataEnabled(table)) {
-      
writeMetadata.setWriteStatuses(streamingMetadataWriteHandler.streamWriteToMetadataTable(table,
 writeMetadata.getWriteStatuses(), instantTime));
+      
writeMetadata.setWriteStatuses(streamingMetadataWriteHandler.streamWriteToMetadataTable(table,
 writeMetadata.getWriteStatuses(), instantTime,
+          false, 
config.getMetadataConfig().getStreamingWritesCoalesceDividentForDataTableWrites()));

Review Comment:
   my bad. 
   I mis understood. I assume your question is: why we are setting the value 
for enforceCoalesceWithRepartition as `false`.
   we need coalesce w/ repartition only for bulk insert + none sort mode. 
   But here, the tableServiceClient will only be used for table services like 
compaction, logCompaction and clustering. 
   and hence, I am directly setting it to false. 
   



-- 
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]

Reply via email to