Return-Path: Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: (qmail 42396 invoked from network); 20 Jul 2009 23:53:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Jul 2009 23:53:17 -0000 Received: (qmail 33287 invoked by uid 500); 20 Jul 2009 23:54:22 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 33204 invoked by uid 500); 20 Jul 2009 23:54:22 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 33195 invoked by uid 500); 20 Jul 2009 23:54:22 -0000 Delivered-To: apmail-hadoop-core-commits@hadoop.apache.org Received: (qmail 33192 invoked by uid 99); 20 Jul 2009 23:54:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jul 2009 23:54:22 +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.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jul 2009 23:54:20 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id A52EF118C1 for ; Mon, 20 Jul 2009 23:53:59 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: core-commits@hadoop.apache.org Date: Mon, 20 Jul 2009 23:53:59 -0000 Message-ID: <20090720235359.12865.15912@eos.apache.org> Subject: [Hadoop Wiki] Update of "Hive/Tutorial" by VijendarGanta X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification. The following page has been changed by VijendarGanta: http://wiki.apache.org/hadoop/Hive/Tutorial ------------------------------------------------------------------------------ || A IS NULL || all types || TRUE if expression A evaluates to NULL otherwise FALSE|| || A IS NOT NULL || all types || TRUE if expression A evaluates to NULL otherwise FALSE|| || A LIKE B || strings || TRUE if string A matches the SQL simple regular expression B, otherwise FALSE. The comparison is done character by character. The _ character in B matches any character in A(similar to . in posix regular expressions) while the % character in B matches an arbitrary number of characters in A(similar to .* in posix regular expressions) e.g. 'foobar' like 'foo' evaluates to FALSE where as 'foobar' like {{{'foo___'}}} evaluates to TRUE and so does 'foobar' like 'foo%'|| + || NOT A LIKE B || strings || TRUE if string A matches the SQL simple regular expression B, otherwise FALSE|| || A RLIKE B || strings || TRUE if string A matches the Java regular expression B(See [http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html Java regular expressions syntax]), otherwise FALSE e.g. 'foobar' rlike 'foo' evaluates to FALSE where as 'foobar' rlike '^f.*r$' evaluates to TRUE|| || A REGEXP B || strings || Same as RLIKE ||