n3nash commented on a change in pull request #2334:
URL: https://github.com/apache/hudi/pull/2334#discussion_r551485414



##########
File path: 
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/bootstrap/BootstrapRecordConsumer.java
##########
@@ -36,10 +36,12 @@ public BootstrapRecordConsumer(HoodieBootstrapHandle 
bootstrapHandle) {
     this.bootstrapHandle = bootstrapHandle;
   }
 
+  @SuppressWarnings("unchecked")
   @Override
   protected void consumeOneRecord(HoodieRecord record) {
     try {
-      bootstrapHandle.write(record, 
record.getData().getInsertValue(bootstrapHandle.getWriterSchemaWithMetafields()));
+      bootstrapHandle.write(record, record.getData()

Review comment:
       Can you revert this change ? Doesn't look like you're changing anything 
here




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to