@@ -173,7 +173,7 @@ interface SnowflakeDriverOptions {
173173 resultPrefetch ?: number ,
174174 exportBucket ?: SnowflakeDriverExportBucket ,
175175 executionTimeout ?: number ,
176- caseSensitiveIdentifiers ?: boolean ,
176+ identIgnoreCase ?: boolean ,
177177 application : string ,
178178 readOnly ?: boolean ,
179179
@@ -281,7 +281,7 @@ export class SnowflakeDriver extends BaseDriver implements DriverInterface {
281281 exportBucket : this . getExportBucket ( dataSource ) ,
282282 resultPrefetch : 1 ,
283283 executionTimeout : getEnv ( 'dbQueryTimeout' , { dataSource } ) ,
284- ignoreCase : getEnv ( 'snowflakeQuotedIdentIgnoreCase' , { dataSource } ) ,
284+ identIgnoreCase : getEnv ( 'snowflakeQuotedIdentIgnoreCase' , { dataSource } ) ,
285285 exportBucketCsvEscapeSymbol : getEnv ( 'dbExportBucketCsvEscapeSymbol' , { dataSource } ) ,
286286 application : 'CubeDev_Cube' ,
287287 ...config
@@ -453,10 +453,10 @@ 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-
456+
457457 // We only want to ignore the case if someone sets the value to false explicitly since the default assumption
458458 // is that casing matters
459- if ( ! this . ignoreCase ) {
459+ if ( ! this . config . identIgnoreCase ) {
460460 await this . execute ( connection , 'ALTER SESSION SET QUOTED_IDENTIFIERS_IGNORE_CASE = FALSE' , [ ] , false ) ;
461461 }
462462 return connection ;
0 commit comments