Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 97140 invoked from network); 12 May 2010 19:47:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 May 2010 19:47:07 -0000 Received: (qmail 13448 invoked by uid 500); 12 May 2010 19:47:07 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 13416 invoked by uid 500); 12 May 2010 19:47:07 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 13408 invoked by uid 99); 12 May 2010 19:47:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 19:47:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 19:47:05 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4CJkhju022799 for ; Wed, 12 May 2010 19:46:43 GMT Message-ID: <22559673.3961273693603587.JavaMail.jira@thor> Date: Wed, 12 May 2010 15:46:43 -0400 (EDT) From: "Namit Jain (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Updated: (HIVE-801) row-wise IN would be useful In-Reply-To: <1756716722.1251320159316.JavaMail.jira@brutus> 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-801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Namit Jain updated HIVE-801: ---------------------------- Status: Resolved (was: Patch Available) Hadoop Flags: [Reviewed] Fix Version/s: 0.6.0 Resolution: Fixed Committed. Thanks Paul > row-wise IN would be useful > --------------------------- > > Key: HIVE-801 > URL: https://issues.apache.org/jira/browse/HIVE-801 > Project: Hadoop Hive > Issue Type: New Feature > Reporter: Adam Kramer > Assignee: Paul Yang > Fix For: 0.6.0 > > Attachments: HIVE-801.1.patch, HIVE-801.2.patch, HIVE-801.3.patch > > > SELECT * FROM tablename t > WHERE IN(12345,key1,key2,key3); > ...IN would operate on a given row, and return True when the first argument equaled at least one of the other arguments. So here IN would return true if 12345=key1 OR 12345=key2 OR 12345=key3 (but wouldn't test the latter two if the first matched). > This would also help with https://issues.apache.org/jira/browse/HIVE-783, if IN were implemented in a manner that allows it to be used in an ON clause. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.