Skip to content

Commit 8f85f48

Browse files
committed
support schema id
1 parent 1982317 commit 8f85f48

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

catalog/resource_schema.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ type SchemaInfo struct {
2020
Owner string `json:"owner,omitempty" tf:"computed"`
2121
MetastoreID string `json:"metastore_id,omitempty" tf:"computed"`
2222
FullName string `json:"full_name,omitempty" tf:"computed"`
23+
SchemaID string `json:"schema_id" tf:"computed"`
2324
}
2425

2526
func ResourceSchema() common.Resource {

docs/resources/schema.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ The following arguments are required:
4848
In addition to all arguments above, the following attributes are exported:
4949

5050
* `id` - ID of this schema in form of `<catalog_name>.<name>`.
51+
* `schema_id` - UUID of the schema.
5152

5253
## Import
5354

0 commit comments

Comments
 (0)