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 AB8EF18F5C for ; Mon, 21 Mar 2016 20:31:25 +0000 (UTC) Received: (qmail 11082 invoked by uid 500); 21 Mar 2016 20:31:25 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 11060 invoked by uid 500); 21 Mar 2016 20:31:25 -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 11036 invoked by uid 99); 21 Mar 2016 20:31:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2016 20:31:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6C19F2C14DC for ; Mon, 21 Mar 2016 20:31:25 +0000 (UTC) Date: Mon, 21 Mar 2016 20:31:25 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-13250) Compute predicate conversions on the client, instead of per row group 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-13250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15205041#comment-15205041 ] Ashutosh Chauhan commented on HIVE-13250: ----------------------------------------- I think we can special case this for equality predicate. I will update the patch for that. > Compute predicate conversions on the client, instead of per row group > --------------------------------------------------------------------- > > Key: HIVE-13250 > URL: https://issues.apache.org/jira/browse/HIVE-13250 > Project: Hive > Issue Type: Improvement > Affects Versions: 2.1.0 > Reporter: Siddharth Seth > Assignee: Ashutosh Chauhan > Attachments: HIVE-13250.2.patch, HIVE-13250.patch > > > When running a query for the form > select count from table where ts_field = "2016-01-23 00:00:00"; > or > select count from table where ts_field = 1453507200 > ts_field is of type TIMESTAMP > The predicate is converted to whatever format is appropriate for TIMESTAMP processing on each and every row group. > It would be far more efficient to process this once on the client - or even once per task. > The same applies to ORC splt elimination as well - this is applied for each stripe. -- This message was sent by Atlassian JIRA (v6.3.4#6332)