Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add version 0.14.0 for ADMIN OPTION FOR (HIVE-6252) and GRANT OPTION FOR (HIVE-7404)

...

Revokes the membership of the roles from the user/roles in the FROM clause.

Revoking As of Hive 0.14.0, revoking just the ADMIN OPTION is possible with the use of REVOKE ADMIN OPTION FOR <role> (HIVE-6252).

Show Role Grant

Code Block
languagetext
SHOW ROLE GRANT (USER|ROLE) principal_name;

...

If a user is granted a privilege WITH GRANT OPTION on a user or a role, then the user can also grant other users the privileges it has on those tables. The . As of Hive 0.14.0, the grant option for a privilege can be removed while still keeping  the the privilege using REVOKE GRANT OPTION FOR <privilege> (HIVE-7404).

Note that in case of the REVOKE statement, the DROP-BEHAVIOR option of CASCADE is not currently supported (which is in SQL standard). As a result, the revoke statement will not drop any dependent privileges. For details on CASCADE behavior, you can check the Postgres revoke documentation.

...