From a250dc1a100c6c6b4c56040b787f659656fe35a8 Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Sat, 1 Feb 2025 23:16:22 +0200 Subject: [PATCH] =?UTF-8?q?feat(snowflake-driver):=20set=20QUOTED=5FIDENTI?= =?UTF-8?q?FIERS=5FIGNORE=5FCASE=3DFALSE=20by=C2=A0default?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/cubejs-snowflake-driver/src/SnowflakeDriver.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/cubejs-snowflake-driver/src/SnowflakeDriver.ts b/packages/cubejs-snowflake-driver/src/SnowflakeDriver.ts index 99a682ea31388..b8422155af569 100644 --- a/packages/cubejs-snowflake-driver/src/SnowflakeDriver.ts +++ b/packages/cubejs-snowflake-driver/src/SnowflakeDriver.ts @@ -453,12 +453,7 @@ export class SnowflakeDriver extends BaseDriver implements DriverInterface { await this.execute(connection, 'ALTER SESSION SET TIMEZONE = \'UTC\'', [], false); await this.execute(connection, `ALTER SESSION SET STATEMENT_TIMEOUT_IN_SECONDS = ${this.config.executionTimeout}`, [], false); - - // We only want to ignore the case if someone sets the value to true explicitly - // since the default assumption is that casing matters - if (this.config.identIgnoreCase) { - await this.execute(connection, 'ALTER SESSION SET QUOTED_IDENTIFIERS_IGNORE_CASE = TRUE', [], false); - } + await this.execute(connection, `ALTER SESSION SET QUOTED_IDENTIFIERS_IGNORE_CASE = ${this.config.identIgnoreCase}`, [], false); return connection; } catch (e) { this.connection = null;