Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Mark unity_catalog_provisioning_state as ReadOnly #4116

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions catalog/resource_online_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ func ResourceOnlineTable() common.Resource {
common.CustomizeSchemaPath(m, "spec", "source_table_full_name").SetCustomSuppressDiff(common.EqualFoldDiffSuppress)
common.CustomizeSchemaPath(m, "name").SetRequired().SetForceNew()
common.CustomizeSchemaPath(m, "status").SetReadOnly()
common.CustomizeSchemaPath(m, "unity_catalog_provisioning_state").SetReadOnly()
common.CustomizeSchemaPath(m, "table_serving_url").SetReadOnly()
common.CustomizeSchemaPath(m, "spec", "pipeline_id").SetReadOnly()

Expand Down
1 change: 1 addition & 0 deletions docs/resources/online_table.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ In addition to all arguments above, the following attributes are exported:
* `detailed_state` - The state of the online table.
* `message` - A text description of the current state of the online table.
* `table_serving_url` - Data serving REST API URL for this table.
* `unity_catalog_provisioning_state` - The provisioning state of the online table entity in Unity Catalog. This is distinct from the state of the data synchronization pipeline (i.e. the table may be in "ACTIVE" but the pipeline may be in "PROVISIONING" as it runs asynchronously).

## Import

Expand Down
Loading