Skip to content

Commit 32f05fb

Browse files
committed
pam pam
1 parent 3d51910 commit 32f05fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/cubejs-databricks-jdbc-driver/src/DatabricksDriver.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ export class DatabricksDriver extends JDBCDriver {
255255
drivername: 'com.databricks.client.jdbc.Driver',
256256
customClassPath: undefined,
257257
properties: {
258-
UID: uid,
259-
PWD:
258+
user: uid,
259+
password:
260260
conf?.token ||
261261
getEnv('databricksToken', { dataSource }) ||
262262
pwd,
@@ -385,7 +385,7 @@ export class DatabricksDriver extends JDBCDriver {
385385
const at = await this.getValidAccessToken();
386386
token = `Bearer ${at}`;
387387
} else {
388-
token = `Bearer ${this.config.properties.PWD}`;
388+
token = `Bearer ${this.config.properties.password}`;
389389
}
390390

391391
const res = await fetch(`https://${this.parsedConnectionProperties.host}/api/2.0/sql/warehouses/${this.parsedConnectionProperties.warehouseId}`, {

0 commit comments

Comments
 (0)