Return-Path: Delivered-To: apmail-hive-dev-archive@www.apache.org Received: (qmail 76962 invoked from network); 25 Oct 2010 22:50:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Oct 2010 22:50:43 -0000 Received: (qmail 94490 invoked by uid 500); 25 Oct 2010 22:50:43 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 94452 invoked by uid 500); 25 Oct 2010 22:50:43 -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 94444 invoked by uid 500); 25 Oct 2010 22:50:43 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 94441 invoked by uid 99); 25 Oct 2010 22:50:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Oct 2010 22:50:43 +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:50:41 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9PMoJ2A029057 for ; Mon, 25 Oct 2010 22:50:19 GMT Message-ID: <23320096.68551288047019558.JavaMail.jira@thor> Date: Mon, 25 Oct 2010 18:50:19 -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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-1747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Sichi updated HIVE-1747: ----------------------------- Description: 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. 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 > > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.