-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support setting session vars in user property #48478
Comments
@yandongxiao thanks for the contribution. I wonder whether or not we only support |
Currently, we have reused In the user documentation, we will only write the syntax of |
Done |
@yandongxiao |
I did not find any other commands. |
Hi @yandongxiao, I set the For example:
|
Your usage method is correct. For specific usage instructions, you can refer to this document: https://docs.starrocks.io/docs/sql-reference/sql-statements/account-management/ALTER_USER/ |
Feature request
In order to let the newly established JDBC connection default to connecting to the external catalog and the database, and since it is not possible to specify the external catalog and external database in the BI tool (client side), so we can save user's properties on the FE(the server side).
When the user connects to FE SQL, the Session variables need to be initialized according to the user's attribute information.
We can support to set more attributes, including: catalog, database, and session.xxx.
Describe the solution you'd like
We can use the following methods to CRUD user's properties
For example:
The implementation details to consider
When setting up user's property:
When the user connects to FE SQL:
When Replaying Journal:
The text was updated successfully, but these errors were encountered: