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 71EEA10943 for ; Tue, 21 Jan 2014 00:31:30 +0000 (UTC) Received: (qmail 5227 invoked by uid 500); 21 Jan 2014 00:31:26 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 5098 invoked by uid 500); 21 Jan 2014 00:31:26 -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 4946 invoked by uid 500); 21 Jan 2014 00:31:23 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 4818 invoked by uid 99); 21 Jan 2014 00:31:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jan 2014 00:31:22 +0000 Date: Tue, 21 Jan 2014 00:31:22 +0000 (UTC) From: "Navis (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-3617) Predicates pushed down to hbase is not handled properly when constant part is shown first 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-3617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877028#comment-13877028 ] Navis commented on HIVE-3617: ----------------------------- I also confused with that. negate() had the semantic as you described (> for <=, etc), which is now removed. In a word, "33", not "a>=3" > Predicates pushed down to hbase is not handled properly when constant part is shown first > ----------------------------------------------------------------------------------------- > > Key: HIVE-3617 > URL: https://issues.apache.org/jira/browse/HIVE-3617 > Project: Hive > Issue Type: Bug > Components: HBase Handler > Reporter: Navis > Assignee: Navis > Priority: Minor > Attachments: HIVE-3617.3.patch.txt > > > Test result could not show the difference because predicates pushed down are not removed currently(HIVE-2897). So I added log message(scan.toMap()) and checked the output. > with query > select * from hbase_ppd_keyrange where key > 8 and key < 21; > timeRange=[0, 9223372036854775807], batch=-1, startRow=\x00\x00\x00\x08\x00, stopRow=\x00\x00\x00\x15, ... > but with query > select * from hbase_ppd_keyrange where 8 < key and key < 21; > timeRange=[0, 9223372036854775807], batch=-1, startRow=, stopRow=\x00\x00\x00\x15, ... -- This message was sent by Atlassian JIRA (v6.1.5#6160)