[ https://issues.apache.org/jira/browse/HIVE-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13766543#comment-13766543 ]
Ashutosh Chauhan commented on HIVE-4732: ---------------------------------------- Thanks, [~kamrul] for addressing concern. Overall looks good. One quick question: I see in AvroGenericRecordWritable::write(Dataoutput out) this line out.writeUTF(recordReaderID.toString()); Doesn't this mean id is now persisted on-disk? I thought id is generated by reader at read time and than added to record, but I don't get why while writing record we need to write it. Seems like I am missing something obvious. > Reduce or eliminate the expensive Schema equals() check for AvroSerde > --------------------------------------------------------------------- > > Key: HIVE-4732 > URL: https://issues.apache.org/jira/browse/HIVE-4732 > Project: Hive > Issue Type: Improvement > Components: Serializers/Deserializers > Reporter: Mark Wagner > Assignee: Mohammad Kamrul Islam > Attachments: HIVE-4732.1.patch, HIVE-4732.v1.patch > > > The AvroSerde spends a significant amount of time checking schema equality. > Changing to compare hashcodes (which can be computed once then reused) will > improve performance. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira