Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21429

describe function should works also on blacklisted UDF

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Authorization
    • None

    Description

      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:

      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)
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            dvergari Davide Vergari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: