vinothchandar commented on a change in pull request #1711: URL: https://github.com/apache/hudi/pull/1711#discussion_r436633121
########## File path: hudi-hadoop-mr/src/main/java/org/apache/hudi/hadoop/realtime/RealtimeUnmergedRecordReader.java ########## @@ -82,7 +82,7 @@ public RealtimeUnmergedRecordReader(HoodieRealtimeFileSplit split, JobConf job, false, jobConf.getInt(MAX_DFS_STREAM_BUFFER_SIZE_PROP, DEFAULT_MAX_DFS_STREAM_BUFFER_SIZE), record -> { // convert Hoodie log record to Hadoop AvroWritable and buffer GenericRecord rec = (GenericRecord) record.getData().getInsertValue(getReaderSchema()).get(); - ArrayWritable aWritable = (ArrayWritable) avroToArrayWritable(rec, getWriterSchema()); + ArrayWritable aWritable = (ArrayWritable) avroToArrayWritable(rec, getHiveSchema()); Review comment: what do we use in the merged record reader? cc @bvaradar ########## File path: hudi-hadoop-mr/src/main/java/org/apache/hudi/hadoop/realtime/RealtimeUnmergedRecordReader.java ########## @@ -82,7 +82,7 @@ public RealtimeUnmergedRecordReader(HoodieRealtimeFileSplit split, JobConf job, false, jobConf.getInt(MAX_DFS_STREAM_BUFFER_SIZE_PROP, DEFAULT_MAX_DFS_STREAM_BUFFER_SIZE), record -> { // convert Hoodie log record to Hadoop AvroWritable and buffer GenericRecord rec = (GenericRecord) record.getData().getInsertValue(getReaderSchema()).get(); - ArrayWritable aWritable = (ArrayWritable) avroToArrayWritable(rec, getWriterSchema()); + ArrayWritable aWritable = (ArrayWritable) avroToArrayWritable(rec, getHiveSchema()); Review comment: sg. ---------------------------------------------------------------- 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