Return-Path: Delivered-To: apmail-hive-dev-archive@www.apache.org Received: (qmail 77158 invoked from network); 25 Oct 2010 22:52:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Oct 2010 22:52:41 -0000 Received: (qmail 96492 invoked by uid 500); 25 Oct 2010 22:52:40 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 96470 invoked by uid 500); 25 Oct 2010 22:52:40 -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 96462 invoked by uid 500); 25 Oct 2010 22:52:40 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 96459 invoked by uid 99); 25 Oct 2010 22:52:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Oct 2010 22:52:40 +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; Mon, 25 Oct 2010 22:52:40 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9PMqKtG029083 for ; Mon, 25 Oct 2010 22:52:20 GMT Message-ID: <5324764.68571288047140100.JavaMail.jira@thor> Date: Mon, 25 Oct 2010 18:52:20 -0400 (EDT) From: "John Sichi (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Updated: (HIVE-1747) Make case-insensitive substring search as fast as case-sensitive variant In-Reply-To: <9469310.68491288046899566.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-1747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Sichi updated HIVE-1747: ----------------------------- Description: {noformat} WHERE str_col like '%XYZ%' {noformat} is very fast because the pattern matching code is special-cased. However, {noformat} WHERE str_col rlike '(?i).*XYZ.*' {noformat} is very slow because it goes through the generic Java pattern matching. was: WHERE str_col like '%XYZ%' is very fast because the pattern matching code is special-cased. However, WHERE str_col rlike '(?i).*XYZ.*' is very slow because it goes through the generic Java pattern matching. > Make case-insensitive substring search as fast as case-sensitive variant > ------------------------------------------------------------------------ > > Key: HIVE-1747 > URL: https://issues.apache.org/jira/browse/HIVE-1747 > Project: Hive > Issue Type: Improvement > Components: Query Processor > Affects Versions: 0.7.0 > Reporter: John Sichi > > {noformat} > WHERE str_col like '%XYZ%' > {noformat} > is very fast because the pattern matching code is special-cased. However, > {noformat} > WHERE str_col rlike '(?i).*XYZ.*' > {noformat} > is very slow because it goes through the generic Java pattern matching. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.