Skip to content

Commit f08a6c8

Browse files
committed
fix
1 parent 13c7842 commit f08a6c8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/cubejs-backend-shared/src/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,7 @@ const variables: Record<string, (...args: any) => any> = {
15211521
);
15221522
}
15231523
} else {
1524-
return true;
1524+
return false;
15251525
}
15261526
},
15271527
/** ****************************************************************

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -454,10 +454,10 @@ export class SnowflakeDriver extends BaseDriver implements DriverInterface {
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);
456456

457-
// We only want to ignore the case if someone sets the value to false explicitly since the default assumption
458-
// is that casing matters
459-
if (!this.config.identIgnoreCase) {
460-
await this.execute(connection, 'ALTER SESSION SET QUOTED_IDENTIFIERS_IGNORE_CASE = FALSE', [], false);
457+
// We only want to ignore the case if someone sets the value to true explicitly
458+
// since the default assumption is that casing matters
459+
if (this.config.identIgnoreCase) {
460+
await this.execute(connection, 'ALTER SESSION SET QUOTED_IDENTIFIERS_IGNORE_CASE = TRUE', [], false);
461461
}
462462
return connection;
463463
} catch (e) {

0 commit comments

Comments
 (0)