jonvex commented on code in PR #7632: URL: https://github.com/apache/hudi/pull/7632#discussion_r1072449116
########## hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieStreamingSink.scala: ########## @@ -117,7 +119,8 @@ class HoodieStreamingSink(sqlContext: SQLContext, retry(retryCnt, retryIntervalMs)( Try( HoodieSparkSqlWriter.write( - sqlContext, mode, updatedOptions, data, hoodieTableConfig, writeClient, Some(triggerAsyncCompactor), Some(triggerAsyncClustering), + sqlContext, mode, updatedOptions, data, hoodieTableConfig, writeClient, + if (disableCompaction) None else Some(triggerAsyncCompactor), Some(triggerAsyncClustering), Review Comment: Ok. Got my test working. -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org