Uh oh!
There was an error while loading. Please reload this page.
Introduce "psql" command to connect to Lakebase instances - #3128
Conversation
27ae1f5 to
ef52279Compare
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
dd6e12c to
d0aeebfCompare
shreyas-goenka
left a comment
There was a problem hiding this comment.
Please update the PR description. It refers to the databricks connect command.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
7820548 to
f400e10Compare## Changes <!-- Brief summary of your changes that is easy to understand --> ## Why <!-- Why are these changes needed? Provide the context that the reviewer might be missing. For example, were there any decisions behind the change that are not reflected in the code itself? --> ## Tests <!-- How have you tested the changes? --> <!-- If your PR needs to be included in the release notes for next release, add a separate entry in NEXT_CHANGELOG.md as part of your PR. -->
Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
7b1be11 to
99cda31CompareUh oh!
There was an error while loading. Please reload this page.
## Release v0.260.0 ### Notable Changes * Added support for creating SQL warehouses in DABs ([#3129](#3129)) ### Dependency updates * Upgrade Go SDK to 0.75.0 ([#3256](#3256)) ### CLI * Add `databricks psql` command to connect to Lakebase with a single command ([#3128](#3128)) ### Bundles * Jobs that use cluster policy default values for their cluster configuration now correctly update those defaults on every deployment ([#3255](#3255)). * Add upper and lower helper methods for bundle templates ([#3242](#3242))
…rectory is provided (#3267) ## Why <!-- Why are these changes needed? Provide the context that the reviewer might be missing. For example, were there any decisions behind the change that are not reflected in the code itself? --> This is a follow-up for the comment in the previous PR #3128 : #3128 (comment) ## Tests <!-- How have you tested the changes? --> - Existing acceptance test on cmd/psql is still passing even though the production code is not specifying a directory - Manually checked that when executed with `pwd` the process prints current working directory on Mac and on Windows <!-- If your PR needs to be included in the release notes for next release, add a separate entry in NEXT_CHANGELOG.md as part of your PR. -->
## Changes <!-- Brief summary of your changes that is easy to understand --> Adds "databricks psql" command to Databricks CLI Usage: `databricks psql <your db instance name>` Command also supports auto-complete and selector for the instance name: `databricks psql<ENTER>` for drop-down `databricks psql<TAB><TAB>` for auto-complete ## Why <!-- Why are these changes needed? Provide the context that the reviewer might be missing. For example, were there any decisions behind the change that are not reflected in the code itself? --> Lakebase provides API calls to fetch database credentials, but then it is up to the user to run their `psql` client and provide those credentials there. This change allows users to connect to their Lakebase instance with a single command ## Tests <!-- How have you tested the changes? --> Manual local tests via building the CLI and running the introduced command against Databricks workspace Local-only acceptance test added for Linux and Darwin platforms Manual end-to-end test on Windows platform <!-- If your PR needs to be included in the release notes for next release, add a separate entry in NEXT_CHANGELOG.md as part of your PR. --> --------- Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
## Release v0.260.0 ### Notable Changes * Added support for creating SQL warehouses in DABs ([#3129](#3129)) ### Dependency updates * Upgrade Go SDK to 0.75.0 ([#3256](#3256)) ### CLI * Add `databricks psql` command to connect to Lakebase with a single command ([#3128](#3128)) ### Bundles * Jobs that use cluster policy default values for their cluster configuration now correctly update those defaults on every deployment ([#3255](#3255)). * Add upper and lower helper methods for bundle templates ([#3242](#3242))
…rectory is provided (#3267) ## Why <!-- Why are these changes needed? Provide the context that the reviewer might be missing. For example, were there any decisions behind the change that are not reflected in the code itself? --> This is a follow-up for the comment in the previous PR #3128 : #3128 (comment) ## Tests <!-- How have you tested the changes? --> - Existing acceptance test on cmd/psql is still passing even though the production code is not specifying a directory - Manually checked that when executed with `pwd` the process prints current working directory on Mac and on Windows <!-- If your PR needs to be included in the release notes for next release, add a separate entry in NEXT_CHANGELOG.md as part of your PR. -->
Changes
Adds "databricks psql" command to Databricks CLI
Usage:
databricks psql <your db instance name>Command also supports auto-complete and selector for the instance name:
databricks psql<ENTER>for drop-downdatabricks psql <TAB><TAB>for auto-completeWhy
Lakebase provides API calls to fetch database credentials, but then it is up to the user to run their
psqlclient and provide those credentials there. This change allows users to connect to their Lakebase instance with a single commandTests
Manual local tests via building the CLI and running the introduced command against Databricks workspace
Local-only acceptance test added for Linux and Darwin platforms
Manual end-to-end test on Windows platform