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

Problem with special characters and new role in cloning #37

Open
EjvindHaldIntellishore opened this issue Jun 13, 2023 · 0 comments
Open

Comments

@EjvindHaldIntellishore
Copy link

EjvindHaldIntellishore commented Jun 13, 2023

Hi
I have been using your great packages, and it works fine.

However, in one use case the role name has a special character in the name, and it gives a Snowflake validation error. The fix is quite easy, as you should simply need to replace

{{ new_owner_role }} with "{{ new_owner_role }}"

in file grant_ownership_on_schema_objects.sql

Then it should work in all setups both with and without special characters. However, you might consider to add an UPPER statement to avoid a breaking change for those who have entered the role name in lowercase.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant