[ 
https://issues.apache.org/jira/browse/RANGER-2502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Velmurugan Periasamy updated RANGER-2502:
-----------------------------------------
    Fix Version/s: 2.0.0

> Presto plugin insert bug
> ------------------------
>
>                 Key: RANGER-2502
>                 URL: https://issues.apache.org/jira/browse/RANGER-2502
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin, plugins
>    Affects Versions: 2.0.0
>            Reporter: Pedro Gonçalves Rossi Rodrigues
>            Priority: Major
>             Fix For: 2.0.0
>
>         Attachments: 
> 0001-RANGER-2502-Correct-service-definition-for-presto.patch
>
>
> 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)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to