mirror of https://github.com/databricks/cli.git
08a0d083c3
## Changes This extends the `{{default_catalog}}` helper in templates to ignore any `PERMISSION_DENIED` error. We're still reviewing when exactly this error occurs, but if it does, it should not break templates. We should fall back to assuming there's no default catalog (and no UC) instead. ## Testing I have not been able to reproduce this issue, but there is a customer report about "access denied to clusters that don't have unity catalog enabled" being returned on a non-UC workspace. The error code in this PR corresponds to that message. ## Next steps We'll work together with the UC team to review if this error even makes sense for this API. If that discussion leads to a behavior change in the API we can update the CLI code again. |
||
---|---|---|
.. | ||
templates | ||
testdata | ||
config.go | ||
config_test.go | ||
file.go | ||
file_test.go | ||
helpers.go | ||
helpers_test.go | ||
materialize.go | ||
materialize_test.go | ||
renderer.go | ||
renderer_test.go |