Skip to content

Commit 9b72949

Browse files
Updating snowflake driver to respect case by default with added override.
1 parent d0bcf15 commit 9b72949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cubejs-snowflake-driver/src/SnowflakeDriver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ export class SnowflakeDriver extends BaseDriver implements DriverInterface {
453453

454454
await this.execute(connection, 'ALTER SESSION SET TIMEZONE = \'UTC\'', [], false);
455455
await this.execute(connection, `ALTER SESSION SET STATEMENT_TIMEOUT_IN_SECONDS = ${this.config.executionTimeout}`, [], false);
456-
if (this.ignoreCase) {
456+
if (!this.ignoreCase) {
457457
await this.execute(connection, 'ALTER SESSION SET QUOTED_IDENTIFIERS_IGNORE_CASE = FALSE', [], false);
458458
}
459459
return connection;

0 commit comments

Comments
 (0)