Exception while querying table schema
See original GitHub issueHi,
I want to get a table schema from Snowflake using the query below but I got the error that says:
No enum constant net.snowflake.client.jdbc.SnowflakeType.FİXED
Here is my code:
val connection = getConnection()
val statement: PreparedStatement = connection.prepareStatement("SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = ?")
statement.setString(1, tableName);
return statement.executeQuery()
Can you tell me what’s wrong with this code?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Exception tables - IBM
Querying exception tables. The message column structure in an exception table is a concatenated list of constraint names, lengths, and delimiters, as described ......
Read more >SQL error messages and exceptions - Oracle Help Center
In an ALTER TABLE statement, the column ' <columnName> ' has been specified as NOT NULL and either the DEFAULT clause was not...
Read more >Object not found when executing query with table in a schema
I see the schema creation in the generated ddl statements as well as in the query in the stacktrace.
Read more >Resolve "GENERIC_INTERNAL_ERROR" when querying ...
You have a schema mismatch between the data type of a column in table definition and the actual data type of the dataset....
Read more >Database Engine events and errors - SQL Server
Maximum number of tables in a query (%d) exceeded. ... 928, 20, Yes, During upgrade, database raised exception %d, severity %d, state %d, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hmm, this test case doesn’t reproduce it.
ok, glad to hear you found the solution.