databricks-cli/cmd
shreyas-goenka 5ba0aaa5c5
Add support for UC Volumes to the `databricks fs` commands (#1209)
## Changes
```
shreyas.goenka@THW32HFW6T cli % databricks fs -h
Commands to do file system operations on DBFS and UC Volumes.

Usage:
  databricks fs [command]

Available Commands:
  cat         Show file content.
  cp          Copy files and directories.
  ls          Lists files.
  mkdir       Make directories.
  rm          Remove files and directories.
```

This PR adds support for UC Volumes to the fs commands. The fs commands
for UC volumes work the same as they currently do for DBFS. This is
ensured by running the same test matrix we across both DBFS and UC
Volumes versions of the fs commands.

## Tests
Support for UC volumes is tested by running the same tests as we did
originally for DBFS commands. The tests require a `main` catalog to
exist in the workspace, which does in our test workspaces environments
which have the `TEST_METASTORE_ID` environment variable set.

For the Files API filer, we do the same by running mostly common tests
to ensure the filers for "local", "wsfs", "dbfs" and "files API" are
consistent.

The tests are also made to all run in parallel to reduce the time taken.
To ensure the separation of the tests, each test creates its own UC
schema (for UC volumes tests) or DBFS directories (for DBFS tests).
2024-02-20 16:14:37 +00:00
..
account Bump github.com/databricks/databricks-sdk-go from 0.30.1 to 0.32.0 (#1199) 2024-02-15 14:52:17 +00:00
api Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
auth Ignore environment variables for `auth profiles` (#1189) 2024-02-08 12:25:51 +00:00
bundle Add an experimental default-sql template (#1051) 2024-02-19 12:01:11 +00:00
configure Filter out system clusters for `--configure-cluster` (#1031) 2023-11-30 09:59:11 +00:00
fs Add support for UC Volumes to the `databricks fs` commands (#1209) 2024-02-20 16:14:37 +00:00
labs Move folders package into libs (#1184) 2024-02-07 16:33:18 +00:00
root Use dynamic configuration model in bundles (#1098) 2024-02-16 19:41:58 +00:00
sync Tweak command groups in CLI help (#1092) 2023-12-28 13:14:55 +00:00
version Added description for version command (#737) 2023-09-06 08:41:47 +00:00
workspace Bump github.com/databricks/databricks-sdk-go from 0.32.0 to 0.33.0 (#1222) 2024-02-19 14:30:06 +00:00
cmd.go Add `databricks labs` command group (#914) 2023-11-17 12:47:37 +00:00