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

Using temporary/permanent functions fail when using hive whitelist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      CREATE TEMPORARY FUNCTION printf_test AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFPrintf'
      SELECT printf_test('%d', under_col) FROM tab1;

      The above select fails with
      org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: SemanticException UDF printf_test is not allowed

      Attachments

        Activity

          People

            Unassigned Unassigned
            sravya Sravya Tirukkovalur
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: