We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04e6496 commit f005c5bCopy full SHA for f005c5b
packages/cubejs-athena-driver/src/AthenaDriver.ts
@@ -126,16 +126,16 @@ export class AthenaDriver extends BaseDriver implements DriverInterface {
126
getEnv('athenaAwsSecret', { dataSource });
127
128
const { schema, ...restConfig } = config;
129
-
+
130
this.schema = schema ||
131
getEnv('dbName', { dataSource }) ||
132
getEnv('dbSchema', { dataSource });
133
134
this.config = {
135
- ...restConfig,
136
credentials: accessKeyId && secretAccessKey
137
? { accessKeyId, secretAccessKey }
138
: undefined,
+ ...restConfig,
139
region:
140
config.region ||
141
getEnv('athenaAwsRegion', { dataSource }),
0 commit comments