Skip to content

Commit 14178ab

Browse files
authored
Bump Databricks SDK to 0.6.0 (#1023)
## Changes - bump Databricks SDK to 0.6.0 - Bump Databricks CLI - Bump NPM dependencies ## Tests <!-- How is this tested? -->
1 parent ee8a737 commit 14178ab

File tree

6 files changed

+183
-41
lines changed

6 files changed

+183
-41
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"scripts": {
1616
"install:sdk": "yarn fetch:sdk && chmod a+x scripts/install_sdk.sh && scripts/install_sdk.sh",
17-
"fetch:sdk": "rm -rf vendor && mkdir vendor && gh release download -R databricks/databricks-sdk-js v0.5.2 -p '*.tgz' && mv *.tgz vendor/databricks-sdk.tgz",
17+
"fetch:sdk": "rm -rf vendor && mkdir vendor && gh release download -R databricks/databricks-sdk-js v0.6.0 -p '*.tgz' && mv *.tgz vendor/databricks-sdk.tgz",
1818
"test": "yarn workspaces foreach run test",
1919
"test:integ": "yarn workspaces foreach run test:integ",
2020
"build": "yarn workspaces foreach run build",

packages/databricks-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@
650650
"useYarn": false
651651
},
652652
"cli": {
653-
"version": "0.212.2"
653+
"version": "0.212.3"
654654
},
655655
"scripts": {
656656
"vscode:prepublish": "rm -rf out && yarn run package:compile && yarn run package:wrappers:write && yarn run package:jupyter-init-script:write && yarn run package:copy-webview-toolkit && yarn run generate-telemetry",

packages/databricks-vscode/src/configuration/auth/MetadataService.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ describe(__filename, function () {
103103
const config = new Config({
104104
authType: "metadata-service",
105105
host: "https://test.com",
106-
localMetadataServiceUrl: metadataService.url,
106+
metadataServiceUrl: metadataService.url,
107107
});
108108

109109
const apiClient = new ApiClient(config);

packages/databricks-vscode/src/utils/envVarGenerators.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ describe(__filename, () => {
4141
);
4242
when(mockApiClient.host).thenResolve(new URL(mockHost));
4343
existingEnv = Object.assign({}, process.env);
44+
process.env.SPARK_CONNECT_USER_AGENT = "";
4445
});
4546

4647
afterEach(() => {

vendor/databricks-sdk.tgz

10.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)