xushiyan commented on a change in pull request #2195:
URL: https://github.com/apache/hudi/pull/2195#discussion_r509809771
##########
File path:
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/table/action/bootstrap/SparkBootstrapCommitActionExecutor.java
##########
@@ -284,7 +284,7 @@ protected void commit(Option<Map<String, String>>
extraMetadata, HoodieWriteMeta
protected BaseSparkCommitActionExecutor<T>
getBulkInsertActionExecutor(JavaRDD<HoodieRecord> inputRecordsRDD) {
return new SparkBulkInsertCommitActionExecutor((HoodieSparkEngineContext)
context, new HoodieWriteConfig.Builder().withProps(config.getProps())
.withSchema(bootstrapSchema).build(), table,
HoodieTimeline.FULL_BOOTSTRAP_INSTANT_TS,
- inputRecordsRDD, extraMetadata);
+ inputRecordsRDD, Option.empty(), extraMetadata);
Review comment:
this results in error "java.util.HashMap cannot be cast to
org.apache.hudi.table.BulkInsertPartitioner"
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]