Skip to content

Commit

Permalink
fix(@cubejs-backend/snowflake-driver): Reduce memory usage during bat…
Browse files Browse the repository at this point in the history
…ching downloads
  • Loading branch information
paveltiunov committed Oct 8, 2021
1 parent 7d97398 commit 8748344
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cubejs-snowflake-driver/src/SnowflakeDriver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ interface SnowflakeDriverOptions {
authenticator?: string,
privateKeyPath?: string,
privateKeyPass?: string,
resultPrefetch?: number,
exportBucket?: SnowflakeDriverExportBucket,
}

Expand Down Expand Up @@ -159,6 +160,7 @@ export class SnowflakeDriver extends BaseDriver implements DriverInterface {
privateKeyPath: process.env.CUBEJS_DB_SNOWFLAKE_PRIVATE_KEY_PATH,
privateKeyPass: process.env.CUBEJS_DB_SNOWFLAKE_PRIVATE_KEY_PASS,
exportBucket: this.getExportBucket(),
resultPrefetch: 1,
...config
};
}
Expand Down

0 comments on commit 8748344

Please sign in to comment.