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 5e9f7dc commit 9abd5b7Copy full SHA for 9abd5b7
packages/cubejs-databricks-jdbc-driver/src/helpers.ts
@@ -33,7 +33,9 @@ export async function resolveJDBCDriver(): Promise<string> {
33
}
34
35
/**
36
- * Extract if exist UID and PWD from URL and return UID, PWD and URL without these params
+ * Extract if exist UID and PWD from URL and return UID, PWD and URL without these params.
37
+ * New Databricks OSS driver throws an error if UID and PWD are provided in the URL and as a separate params
38
+ * passed to the driver instance. That's why we strip them out from the URL if they exist there.
39
* @param jdbcUrl
40
*/
41
export function extractAndRemoveUidPwdFromJdbcUrl(jdbcUrl: string): [uid: string, pwd: string, cleanedUrl: string] {
0 commit comments