Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 1488 invoked from network); 5 Oct 2009 19:05:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Oct 2009 19:05:04 -0000 Received: (qmail 84744 invoked by uid 500); 5 Oct 2009 19:05:04 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 84730 invoked by uid 500); 5 Oct 2009 19:05:03 -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 84720 invoked by uid 99); 5 Oct 2009 19:05:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 19:05:03 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 19:04:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5608C234C04B for ; Mon, 5 Oct 2009 12:04:31 -0700 (PDT) Message-ID: <2098289138.1254769471351.JavaMail.jira@brutus> Date: Mon, 5 Oct 2009 12:04:31 -0700 (PDT) From: "Paul Yang (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Updated: (HIVE-236) RLIKE/REGEXP should allow matching partial strings In-Reply-To: <1620961582.1232134379630.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-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Yang updated HIVE-236: --------------------------- Attachment: HIVE-236.2.patch Updated udf1.q.out Added logging for empty regexp > RLIKE/REGEXP should allow matching partial strings > -------------------------------------------------- > > Key: HIVE-236 > URL: https://issues.apache.org/jira/browse/HIVE-236 > Project: Hadoop Hive > Issue Type: Bug > Components: Query Processor > Reporter: Zheng Shao > Assignee: Paul Yang > Attachments: HIVE-236.1.patch, HIVE-236.2.patch > > > The current behavior is that the regexp needs to match the whole string. > But from mysql: ( http://dev.mysql.com/doc/refman/5.0/en/regexp.html#operator_regexp ) > mysql> SELECT 'fofo' REGEXP '^fo'; -> 1 > We need to make it work the same way as MySQL. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.