Zouxxyy commented on code in PR #7374:
URL: https://github.com/apache/hudi/pull/7374#discussion_r1039452012
##########
hudi-client/hudi-spark-client/src/main/scala/org/apache/hudi/HoodieDatasetBulkInsertHelper.scala:
##########
@@ -150,8 +151,8 @@ object HoodieDatasetBulkInsertHelper extends Logging {
}
writer.getWriteStatuses.asScala.map(_.toWriteStatus).iterator
- }).collect()
- table.getContext.parallelize(writeStatuses.toList.asJava)
Review Comment:
@boneanxs
isEmpty check could take lots of time, I provided a PR to fix it,
https://github.com/apache/hudi/pull/7373, so maybe we don't need
https://github.com/apache/hudi/pull/7343
--
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]