Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E12C510ABF for ; Tue, 17 Sep 2013 22:34:12 +0000 (UTC) Received: (qmail 15097 invoked by uid 500); 17 Sep 2013 22:34:02 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 14986 invoked by uid 500); 17 Sep 2013 22:34:00 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 14926 invoked by uid 500); 17 Sep 2013 22:33:56 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 14914 invoked by uid 99); 17 Sep 2013 22:33:56 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Sep 2013 22:33:56 +0000 Date: Tue, 17 Sep 2013 22:33:56 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4732) Reduce or eliminate the expensive Schema equals() check for AvroSerde MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770092#comment-13770092 ] Ashutosh Chauhan commented on HIVE-4732: ---------------------------------------- I agree with [~kamrul] analysis. Lets not complicate the code for highly obscure case. [~appodictic] Let us know if you disagree. > 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.4.patch, HIVE-4732.5.patch, HIVE-4732.v1.patch, HIVE-4732.v4.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