-
Notifications
You must be signed in to change notification settings - Fork 171
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
SNOW-1852633: connection.getSchema returns the current schema UPPERCASE #1996
Comments
Hello @OS-veracardoso , Thanks for raising the issue. Example: This will be stored as TEST_SCHEMAMIXEDCASE whereas if you use below one, it will store the schema as it is Test_SchemaMixedCase So its an application usage issue. I hope its clear now. Regards, |
Hi Sujan, But that behaviour can cause issues. Imagine I want to get the current schema from the connection so I can use it to create some other connection or to build a query or something similar. Since the schema name returned is That is the issue I'm facing currently. Take for instance the following example:
|
Hello @OS-veracardoso ,
This is as per the design of Snowflake. Regards, |
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
What version of JDBC driver are you using?
3.20.0
What operating system and processor architecture are you using?
WSL
What version of Java are you using?
21
What did you do?
Test_SchemaMixedCase
.schema
to the schema createdconnection.getSchema()
The returned value is
TEST_SCHEMAMIXEDCASE
instead ofTest_SchemaMixedCase
Can you set logging to DEBUG and collect the logs?
https://community.snowflake.com/s/article/How-to-generate-log-file-on-Snowflake-connectors
Before sharing any information, please be sure to review the log and remove any sensitive
information.
The text was updated successfully, but these errors were encountered: