Skip to content

Commit 34cb1f3

Browse files
authored
Change default catalog from main to hive_metastore (#1056)
* Change default catalog from `main` to `hive_metastore`
1 parent 1618f73 commit 34cb1f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

catalog/resource_metastore_assignment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func NewMetastoreAssignmentAPI(ctx context.Context, m interface{}) MetastoreAssi
2020
type MetastoreAssignment struct {
2121
WorkspaceID int64 `json:"workspace_id" tf:"force_new"`
2222
MetastoreID string `json:"metastore_id"`
23-
DefaultCatalogName string `json:"default_catalog_name,omitempty" tf:"default:main"`
23+
DefaultCatalogName string `json:"default_catalog_name,omitempty" tf:"default:hive_metastore"`
2424
}
2525

2626
func (a MetastoreAssignmentAPI) createMetastoreAssignment(ma MetastoreAssignment) error {

catalog/resource_metastore_assignment_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func TestMetastoreAssignment_Create(t *testing.T) {
2121
ExpectedRequest: MetastoreAssignment{
2222
WorkspaceID: 123,
2323
MetastoreID: "a",
24-
DefaultCatalogName: "main",
24+
DefaultCatalogName: "hive_metastore",
2525
},
2626
},
2727
},

0 commit comments

Comments
 (0)