File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/cubejs-databricks-jdbc-driver/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 } ` , {
You can’t perform that action at this time.
0 commit comments