boneanxs commented on code in PR #8076:
URL: https://github.com/apache/hudi/pull/8076#discussion_r1201621093
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/functional/TestSparkDataSourceDAGExecution.scala:
##########
@@ -89,7 +89,7 @@ class TestSparkDataSourceDAGExecution extends
HoodieSparkClientTestBase with Sca
@CsvSource(Array(
"upsert,org.apache.hudi.client.SparkRDDWriteClient.commit",
"insert,org.apache.hudi.client.SparkRDDWriteClient.commit",
- "bulk_insert,org.apache.hudi.HoodieSparkSqlWriter$.bulkInsertAsRow"))
+ "bulk_insert,org.apache.hudi.HoodieDatasetBulkInsertHelper.bulkInsert"))
Review Comment:
`bulk_insert` with `Overwrite` mode will change to use
`DatasetBulkInsertOverwriteTableCommitActionExecutor` to avoid deleting
basePath first. So it would call `FSUtils.getAllPartitionPaths` to get all
existing partition paths, which would introduce extra stages containing
`HoodieSparkSqlWriter$.bulkInsertAsRow`, but it won't call write operation
multi times, can see from the screenshot.

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