Skip to content

Commit

Permalink
[Doc] Fixed documentation for databricks_schemas data source and `d…
Browse files Browse the repository at this point in the history
…atabricks_metastore_assignment` resource (#3851)

## Changes
- Fixed typos in `databricks_schemas` data sources doc. Resolve #3849
- Clarified `default_catalog_name` attribute is deprecated. Resolve
#3850

## Tests
<!-- 
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->

- [x] relevant change in `docs/` folder
  • Loading branch information
nkvuong authored Aug 4, 2024
1 parent 7a28f57 commit 9e5f71b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/data-sources/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ data "databricks_schemas" "all" {
catalog_name = "sandbox"
}
data "databricks_schema" {
for_each = data.datatbricks_schemas.all.ids
data "databricks_schema" "this" {
for_each = data.databricks_schemas.all.ids
name = each.value
}
```
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/metastore_assignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The following arguments are required:

* `metastore_id` - Unique identifier of the parent Metastore
* `workspace_id` - id of the workspace for the assignment
* `default_catalog_name` - (Optional) Default catalog used for this assignment, default to `hive_metastore`
* `default_catalog_name` - (Deprecated) Default catalog used for this assignment. Please use [databricks_default_namespace_setting](default_namespace_setting.md) instead.

## Attribute Reference

Expand Down

0 comments on commit 9e5f71b

Please sign in to comment.