-
Notifications
You must be signed in to change notification settings - Fork 420
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Replace parsing function for saving granted object names (#2813)
Add better parsing of identifiers returned by SHOW GRANTS. It should resolve some of our issues with failing tests (they sometimes fail because they depend on the generated name of a resource and whether they will be quoted in the output provided by Snowflake). New `ParseObjectIdentifier` function is based on `DecodeSnowflakeParameterID` function used in resources. As a fallback (because `ParseObjectIdentifier` can fail) `NewObjectIdentifierFromFullyQualifiedName` will be used.
- Loading branch information
1 parent
838d241
commit 175cfc7
Showing
4 changed files
with
104 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters