Add DistSQL to show or set Proxy props. #13202
Closed
RaigorJiang
started this conversation in
Ideas
Replies: 2 comments
-
Looks cool, I prefer the first proposed pattern, as it's suitable to join the RAL group. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @tristaZero . I will start to develop it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi community,
ShardingSphere-Proxy has many props, but they are only displayed in the configuration file, and currently users cannot query them through SQL.
We plan to add a DistSQL that allows users to query or modify some configuration parameters of Proxy, such as the value of
sql-show
.Before, we already had the RAL syntax:
Now, for Proxy's props, we can use these syntaxes:
Or add a new keyword for props:
I think the second one is better, but I hope to get some suggestions. Any comments are welcome, thank you.
In addition:
The property names in props are all separated by a dash (-), which does not match our SQL variable specification, but modifying the variable name has a greater impact on users, so it is specifically explained here.
Beta Was this translation helpful? Give feedback.
All reactions