-
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-1479614: No enum constant net.snowflake.client.jdbc.SnowflakeType. #1790
Comments
Hi @akashkhamkarr, Thanks for creating the issue. Is there anything else you can do to try and narrow down the problem? For example, is it feasible for you to run that test on specific tables, or schemas at least? |
@sfc-gh-wfateem Hi, i was able to figure out for which data type its happening So far its happening over the structured objects columns steps to reproduce
|
@sfc-gh-wfateem any updates on this ? |
Hi @akashkhamkarr, I apologize for the delay. I've been out for a while and just getting back to my backlog. |
@akashkhamkarr PR #1831 is merged and will fix this issue in the next release. |
Awesome, thank you @sfc-gh-wfateem |
@akashkhamkarr JDBC driver version 3.18.0 has been released with the fix for this issue. |
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.16.1
What operating system and processor architecture are you using?
NA
What version of Java are you using?
11
What did you do?
a. Fetched database columns using
connection.metaData.getColumns(databaseName, null, null, null)
b. Kept iterating over the rs
jdbcResultSet
, during which i calledrs.next()
to check if any more rows are left.c. Here i got the exception
No enum constant net.snowflake.client.jdbc.SnowflakeType.
For the time being, we can't check the actual column data type on the snowflake, for which this has happened
Relevant stacktrace:
I believe the datatype being received is empty
What did you expect to see?
a. either a default datatype value to get assign to such empty fields, or a proper parsing of the correct datatype
Can you set logging to DEBUG and collect the logs?
a. Can try if required
https://community.snowflake.com/s/article/How-to-generate-log-file-on-Snowflake-connectors
What is your Snowflake account identifier, if any? (Optional)
NA
The text was updated successfully, but these errors were encountered: