Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA86717819 for ; Mon, 29 Sep 2014 22:10:35 +0000 (UTC) Received: (qmail 63525 invoked by uid 500); 29 Sep 2014 22:10:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 63425 invoked by uid 500); 29 Sep 2014 22:10:34 -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 63251 invoked by uid 500); 29 Sep 2014 22:10:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 63231 invoked by uid 99); 29 Sep 2014 22:10:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2014 22:10:34 +0000 Date: Mon, 29 Sep 2014 22:10:34 +0000 (UTC) From: "Jason Dere (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-8094) add LIKE keyword support for SHOW FUNCTIONS 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-8094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14152385#comment-14152385 ] Jason Dere commented on HIVE-8094: ---------------------------------- Ok, it looks like the example I have requires '.*fn' as opposed to just '*fn' Rather than adding the LIKE syntax, would you be able to update the function pattern matching to allow '*'? I think the SHOW TABLE has some code to substitute '*' with '.*' when creating the pattern matcher, would you be able to do something like that for SHOW FUNCTION as well? > add LIKE keyword support for SHOW FUNCTIONS > ------------------------------------------- > > Key: HIVE-8094 > URL: https://issues.apache.org/jira/browse/HIVE-8094 > Project: Hive > Issue Type: Improvement > Affects Versions: 0.14.0, 0.13.1 > Reporter: peter liu > Assignee: peter liu > Fix For: 0.14.0 > > Attachments: HIVE-8094.1.patch, HIVE-8094.2.patch, HIVE-8094.3.patch > > > It would be nice to add LIKE keyword support for SHOW FUNCTIONS as below, and keep the patterns consistent to the way as SHOW DATABASES, SHOW TABLES. > bq. SHOW FUNCTIONS LIKE 'foo*'; -- This message was sent by Atlassian JIRA (v6.3.4#6332)