Preparations Before Using Hudi
Prerequisites
You have created an OBS agency and OBS data source. For details, see Managing OBS Data Sources.
Authorizing the Use of Data Sources
Run the GRANT command to grant a user the permission to use data sources.
1
|
GRANT USAGE ON FOREIGN SERVER server_name TO role_name; |
Example:
Grant the user u1 the permission to access the data source hudi_server.
1
|
GRANT USAGE ON FOREIGN SERVER hudi_server TO u1; |
Granting Permissions for Using Foreign Tables
Run the following command to grant a user the permission to use foreign tables:
1
|
ALTER USER role_name USEFT; |
Example:
Grant the user u1 the permission to access foreign tables.
1
|
ALTER USER u1 USEFT; |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot