Skip to content

Commit

Permalink
Review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jmichalak committed Oct 17, 2024
1 parent 7c9137e commit 6be59db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/resources/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var tagSchema = map[string]*schema.Schema{
FullyQualifiedNameAttributeName: schemas.FullyQualifiedNameSchema,
}

// TODO: remove after rework of external table, materialized view, stage and table
// TODO(SNOW-1348114, SNOW-1348110, SNOW-1348355, SNOW-1348353): remove after rework of external table, materialized view, stage and table
var tagReferenceSchema = &schema.Schema{
Type: schema.TypeList,
Optional: true,
Expand Down
2 changes: 1 addition & 1 deletion pkg/sdk/testint/applications_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func TestInt_Applications(t *testing.T) {
require.NoError(t, err)
assertApplication(t, id, applicationPackage.Name, version, patch, "")

// TODO: adjust after this is fixed on Snowflake side
// TODO(SNOW-1746420): adjust after this is fixed on Snowflake side
_, err = client.SystemFunctions.GetTag(ctx, tagTest.ID(), id, sdk.ObjectTypeApplication)
require.ErrorContains(t, err, "391801 (0A000): SQL compilation error: Object tagging not supported for object type APPLICATION")

Expand Down
3 changes: 3 additions & 0 deletions pkg/sdk/testint/databases_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,9 @@ func TestInt_DatabasesAlter(t *testing.T) {
},
})
require.NoError(t, err)

_, err = client.SystemFunctions.GetTag(ctx, tagTest.ID(), databaseTest.ID(), sdk.ObjectTypeDatabase)
require.Error(t, err)
})

t.Run(fmt.Sprintf("Database: %s - swap with another database", testCase.DatabaseType), func(t *testing.T) {
Expand Down

0 comments on commit 6be59db

Please sign in to comment.