Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2502

Presto plugin insert bug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • admin, plugins
    • None

    Description

      I wasn't able to insert anything even with the admin user until I changed from INSERT to UPDATE on the following line https://github.com/apache/ranger/blob/master/plugin-presto/src/main/java/org/apache/ranger/authorization/presto/authorizer/RangerSystemAccessControl.java#L458 , I don't know if this is the admin fault because it is not showing the INSERT permission or it really should use UPDATE instead of INSERT, but I think it makes more sense to show INSERT instead of UPDATE since presto sql syntax doesn't have an UPDATE statement (https://prestosql.io/docs/current/sql.html)

      Attachments

        Activity

          People

            Unassigned Unassigned
            pedro.rossi Pedro Rossi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: