-
Notifications
You must be signed in to change notification settings - Fork 614
change connection schema after USE is executed #2138
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
Conversation
|
Good day, @gfunc ! |
|
@gfunc Would you please take a look? |
|
Hi @chernser, Thanks for your lightning-fast response! |
|
fixed by renaming table and database. |
|
@gfunc
Do you have a use-case when it should be connection wide? Thanks! |
|
Hi @chernser
I assumed we are using the Connection schema instead of this Statement schema, and we could change it back to statement level by making sure all database usages in StatementImpl came from this.schema.
As for my thoughts on this issue, apologies for not having too much experience, I think we should be able to use the same connection for multiple "sessions". I am up for making USE effective only at the Statement level. |
|
@gfunc thank you for the explanation! |
Summary
enable
USE database;statement for JDBC V2Closes #2137
Checklist
Delete items not relevant to your PR: