[ 
https://issues.apache.org/jira/browse/HIVE-8094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14142890#comment-14142890
 ] 

peter liu commented on HIVE-8094:
---------------------------------

[~thejas] Thanks for the comments.

1. I will make sure all the positive cases to be backward compatible. One 
question is we don't need to be backward compatible to all the negative cases, 
do we? For example SHOW FUNCTIONS '***' doesn't show anything before, but it 
will show all the functions after my change.

2. I will move getFunctions call out of the loop. 

3. The reason I replaced FunctionRegistry.mFunctions with getFunctions call is 
that in HS2 case I can't get the permanent UDFs with SHOW FUNCTIONS [regex] but 
SHOW FUNCTIONS works, so I guess they are probably not contained in static 
FunctionRegistry.mFunctions

> 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
>
>
> 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)

Reply via email to