Skip to content

v2.1.1

Choose a tag to compare

@padak padak released this 06 Mar 15:16
· 57 commits to main since this release

What's Changed

Server-side schema/catalog tracking via backendContext

Replaced client-side USE SCHEMA/DATABASE regex parsing (interceptUseCommand) with server-reported backendContext from Query Service result responses. The driver now reads backendContext.catalog and backendContext.schema after each query execution to keep local state in sync with Snowflake.

Falls back to parsing USE commands from SQL when backendContext is not available in the response.

This eliminates the recursion bug root cause (fixed as workaround in 2.1.0) and is more accurate — catches implicit schema changes too (e.g. CREATE SCHEMA automatically switching context).

Initial schema sent as standalone job

When schema connection property is set, a USE SCHEMA command is now sent as a standalone job during connection init, instead of being prepended to the first user query.

Credits

Install

Download keboola-jdbc-driver-2.1.1.jar (9.5 MB) and add it as a JDBC driver in DBeaver/DataGrip.