vinothchandar commented on a change in pull request #612: Fixing source schema 
and writer schema distinction in payloads
URL: https://github.com/apache/incubator-hudi/pull/612#discussion_r268887669
 
 

 ##########
 File path: 
hoodie-client/src/main/java/com/uber/hoodie/io/HoodieCreateHandle.java
 ##########
 @@ -80,6 +82,7 @@ public HoodieCreateHandle(HoodieWriteConfig config, String 
commitTime, HoodieTab
       String partitionPath, String fileId, Iterator<HoodieRecord<T>> 
recordIterator) {
     this(config, commitTime, hoodieTable, partitionPath, fileId);
     this.recordIterator = recordIterator;
+    this.useWriterSchema = true;
 
 Review comment:
   why do we have this flag? 

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


With regards,
Apache Git Services

Reply via email to