-
Notifications
You must be signed in to change notification settings - Fork 6.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 for SQL route extension #2158
Labels
Comments
I'd like to take the issue. Which branch should I develop from, 4.0.0-RC1 ? @terrymanu |
@lalicw. Hi, my friend. Could you make a example of setting context to use few tables?
|
we can use hint-routing, please see hint-example |
terrymanu
added
status: invalid
status: won't fix
and removed
status: volunteer wanted
status: invalid
labels
Apr 17, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Request
we are using shardingsphere in our project, but we found there is no way to customize the sql route logic.
for example, there are only few tables using db sharding feature, so we don't want to parse the sql all the time, and we can set some thread local context to tell the sharding-jdbc layer current sql wish to use db sharding or not. so we suggest to add the ability to add extension for sql route logic that can use the context to decide which datasource to be used without parsing the sql.
Is your feature request related to a problem?
no
Describe the feature you would like.
sql route extension ability without parse the sql.
The text was updated successfully, but these errors were encountered: