Updated on 2026-11-06 GMT+08:00
REVOKE
Function
REVOKE is used to revoke permissions in LakeFormation.
Syntax
1 | REVOKE privileges [ WITH GRANT ] ON privilege_target FROM grantee_list; |
WITH GRANT indicates cascading authorization, which means that the authorized user can grant the same permissions to other users.
Specifically:
- privileges can be:
1 2 3 4
| [ READ, WRITE, DESCRIBE, EXECUTE, ALTER, DROP, INSERT, SELECT, UPDATE, DELETE ] [, ...] | ALL | ALL PRIVILEGE | ALL PRIVILEGES
- privilege_target can be:
1 2 3 4 5 6 7
| DATABASE name_list | SCHEMA name_list | TABLE qualified_name_list | FUNCTION function_with_argtypes_list | PATH obs_path_list | ALL TABLES IN SCHEMA name_list | ALL FUNCTIONS IN SCHEMA name_list
Specifically:
- name_list is as follows:
1| name [, ...]
- qualified_name_list is as follows:
1| qualified_name [, ...]
- function_with_argtypes_list is as follows:
1| function_with_argtypes [, ...]
- obs_path_list is as follows:
1| SCONST [, ...]
- name_list is as follows:
- grantee_list can be:
1 2 3
| USER RoleId [, ...] | USER GROUP RoleId [, ...] | ROLE RoleId [, ...]
Parent topic: DCL Syntax
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot