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

create function using jar does not work with sql std authorization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.2.0
    • None
    • Authorization
    • None
    • Patch

    Description

      create function xxx as 'xxx' using jar 'file://foo.jar' 

      gives error code for need of accessing a local foo.jar resource with ADMIN privileges. Same for HDFS (DFS_URI) .

      problem is that the semantic analysis enforces the ADMIN privilege for write but the jar is clearly input not output.

      Patch und Testcase appendend.

      Attachments

        1. HIVE-11175.1.patch
          4 kB
          Olaf Flebbe

        Issue Links

          Activity

            People

              oflebbe Olaf Flebbe
              oflebbe Olaf Flebbe
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: