Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 55B11200BDB for ; Mon, 12 Dec 2016 18:33:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5013A160B22; Mon, 12 Dec 2016 17:33:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 97E55160B1A for ; Mon, 12 Dec 2016 18:32:59 +0100 (CET) Received: (qmail 51544 invoked by uid 500); 12 Dec 2016 17:32:58 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 51527 invoked by uid 99); 12 Dec 2016 17:32:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2016 17:32:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A671C2C03DD for ; Mon, 12 Dec 2016 17:32:58 +0000 (UTC) Date: Mon, 12 Dec 2016 17:32:58 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-17297) Single Filter in parenthesis cannot be parsed correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 12 Dec 2016 17:33:00 -0000 [ https://issues.apache.org/jira/browse/HBASE-17297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-17297: --------------------------- Status: Patch Available (was: Open) > Single Filter in parenthesis cannot be parsed correctly > ------------------------------------------------------- > > Key: HBASE-17297 > URL: https://issues.apache.org/jira/browse/HBASE-17297 > Project: HBase > Issue Type: Bug > Components: Filters > Reporter: Xuesen Liang > Attachments: 17297.master.patch > > > {code} > hbase(main):010:0* put 'testtable', 'row1', 'cf1:a', 'ab' > 0 row(s) in 0.1800 seconds > hbase(main):011:0> scan 'testtable' > ROW COLUMN+CELL > row1 column=cf1:a, timestamp=1481538756308, value=ab > hbase(main):012:0> scan 'testtable', FILTER=>"(ValueFilter(=,'binary:ab'))" > ROW COLUMN+CELL > row1 column=cf1:a, timestamp=1481538756308, value=ab > hbase(main):013:0* scan 'testtable', FILTER=>"(ValueFilter(=,'binary:x') AND ValueFilter(=,'binary:y')) OR ValueFilter(=,'binary:ab')" > ROW COLUMN+CELL > row1 column=cf1:a, timestamp=1481538756308, value=ab > hbase(main):014:0> scan 'testtable', FILTER=>"(ValueFilter(=,'binary:x') AND (ValueFilter(=,'binary:y'))) OR ValueFilter(=,'binary:ab')" > ROW COLUMN+CELL > 0 row(s) in 0.0100 seconds > {code} > In the last scan, we should got a row. > The inner cause is that the last filter is parsed incorrectly. -- This message was sent by Atlassian JIRA (v6.3.4#6332)