Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-151

UDF whitelist missing CAST UDFs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 1.2.0
    • None
    • None
    • None

    Description

      The Sentry UDF whitelist is missing the UDFs used to cast data types, such as:

      SELECT CAST(1000 AS timestamp) FROM table;
      SELECT CAST(1000 AS string) FROM table;
      etc.

      This causes Sentry to reject the query with "No valid privileges".

      The UDFs are listed here: https://github.com/apache/hive/blob/329c3dd250695e8f06e69aaff9c9da59bb8c4d4c/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java#L1663-L1669

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rem120 Jeremy Beard
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: