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 D8BA1C354 for ; Wed, 2 May 2012 21:03:10 +0000 (UTC) Received: (qmail 69631 invoked by uid 500); 2 May 2012 21:03:10 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 69588 invoked by uid 500); 2 May 2012 21:03:10 -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 69580 invoked by uid 500); 2 May 2012 21:03:10 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 69577 invoked by uid 99); 2 May 2012 21:03:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2012 21:03:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2012 21:03:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6FB3342CFF8 for ; Wed, 2 May 2012 21:02:49 +0000 (UTC) Date: Wed, 2 May 2012 21:02:49 +0000 (UTC) From: "Phabricator (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <843946066.18705.1335992569459.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <145754809.7651.1335232234859.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2975) Filter parsing does not recognize '!=' as operator and silently ignores invalid tokens MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-2975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13266905#comment-13266905 ] Phabricator commented on HIVE-2975: ----------------------------------- ashutoshc has commented on the revision "HIVE-2975 [jira] Filter parsing does not recognize '!=' as operator and silently ignores invalid tokens". Other then those two comments, patch looks good. INLINE COMMENTS metastore/src/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java:178 Can you also include Operator.NOTEQUALS2 in this expression so that it works for listTableNamesByFilter() api as well. metastore/src/test/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java:1839 Can you also add a test for table filtering within a database. testTableFilter() method will be best suited for it. REVISION DETAIL https://reviews.facebook.net/D2931 > Filter parsing does not recognize '!=' as operator and silently ignores invalid tokens > -------------------------------------------------------------------------------------- > > Key: HIVE-2975 > URL: https://issues.apache.org/jira/browse/HIVE-2975 > Project: Hive > Issue Type: Bug > Components: Metastore > Reporter: Thomas Weise > Assignee: Thomas Weise > Fix For: 0.9.1 > > Attachments: HIVE-2975.D2931.1.patch, HIVE-2975.D2931.2.patch > > > Should support operator as alternative to '<>' and should not produce false positives on lexer errors. > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira