Davide  Vergari created HIVE-21429:
--------------------------------------

             Summary: describe function should works also on blacklisted UDF
                 Key: HIVE-21429
                 URL: https://issues.apache.org/jira/browse/HIVE-21429
             Project: Hive
          Issue Type: Improvement
          Components: Authorization
            Reporter: Davide  Vergari


If a function is blacklisted it is impossible to describe it using "describe 
function <function>"

I think that it should be possible for user to describe it though the function 
is blacklisted.

For example:
{code:java}
set hive.server2.builtin.udf.blacklist;
+----------------------------------------------------+
|                        set                         |
+----------------------------------------------------+
| hive.server2.builtin.udf.blacklist=reflect,reflect2,java_method,in_file |
+----------------------------------------------------+
1 row selected (0.097 seconds)

describe function in_file;
Error: Error while processing statement: FAILED: Execution Error, return code 1 
from org.apache.hadoop.hive.ql.exec.DDLTask. 
org.apache.hadoop.hive.ql.parse.SemanticException: UDF in_file is not allowed 
(state=08S01,code=1)

{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to