Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1E48F18168 for ; Fri, 12 Jun 2015 21:08:01 +0000 (UTC) Received: (qmail 66185 invoked by uid 500); 12 Jun 2015 21:08:01 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 66162 invoked by uid 500); 12 Jun 2015 21:08:01 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 66125 invoked by uid 99); 12 Jun 2015 21:08:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2015 21:08:01 +0000 Date: Fri, 12 Jun 2015 21:08:00 +0000 (UTC) From: "Sergey Shelukhin (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-10940) HiveInputFormat::pushFilters serializes PPD objects for each getRecordReader call 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-10940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14584082#comment-14584082 ] Sergey Shelukhin commented on HIVE-10940: ----------------------------------------- Why would it be null always? > HiveInputFormat::pushFilters serializes PPD objects for each getRecordReader call > --------------------------------------------------------------------------------- > > Key: HIVE-10940 > URL: https://issues.apache.org/jira/browse/HIVE-10940 > Project: Hive > Issue Type: Bug > Components: File Formats > Affects Versions: 1.2.0 > Reporter: Gopal V > Assignee: Sergey Shelukhin > Attachments: HIVE-10940.patch > > > {code} > String filterText = filterExpr.getExprString(); > String filterExprSerialized = Utilities.serializeExpression(filterExpr); > {code} > the serializeExpression initializes Kryo and produces a new packed object for every split. > HiveInputFormat::getRecordReader -> pushProjectionAndFilters -> pushFilters. > And Kryo is very slow to do this for a large filter clause. -- This message was sent by Atlassian JIRA (v6.3.4#6332)