Bug related to snowflake changes the column name to capital case and jdbc driver doesn't support it
See original GitHub issueHi,
In snowflake if I fire any sql with an alias or without alias the result column names are automatically converted to capital case.
Due to the above capitalization, this method will throw the exception for the column name which is correct from java side
`@Override public int findColumn(String columnLabel) throws SQLException { logger.debug( “public int findColumn(String columnLabel)”);
int columnIndex = resultSetMetaData.getColumnIndex(columnLabel);
if (columnIndex == -1)
{
throw new SQLException("Column not found: " + columnLabel);
}
else
{
return ++columnIndex;
}
} `
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (6 by maintainers)
Top Results From Across the Web
FAQ: When I retrieve database, schema, table, or column ...
FAQ: When I retrieve database, schema, table, or column names, why does Snowflake display them in uppercase?
Read more >Snowflake Connector for Spark Release Notes
This article contains the release notes for the Snowflake Connector for Spark, including the following when applicable: Behavior changes ...
Read more >Knowledge: Client Release History (Prior to January 2022)
The contents of this article covers client releases prior to January 2022. For current release notes for Snowflake connectors, drivers, and libraries see ......
Read more >JDBC driver bug: db parameter is ignored; queries return error ...
JDBC driver bug : db parameter is ignored; queries return error "This session does not have a current database. Call 'USE DATABASE', or...
Read more >Behavior Change Log - Snowflake Community
To help you manage your operations and minimize disruption to your Snowflake service, we document behavior changes that may impact your ...
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
@smtakeda @howryu I feel there should be different way need to be provided by the jdbc client to override this.
@smtakeda I will work to provide a sample application code. Because currently i started working on real prod app