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

fix: Allow creation of stage with storage integration including special characters #1081

Conversation

adamantike
Copy link
Contributor

To support storage integration names including special characters, this change adds quotes to the names, to avoid generating invalid SQL (e.g. when names have dashes).

Test Plan

  • unit tests

References

Fixes #1080

…al characters

To support storage integration names including special characters, this
change adds quotes to the names, to avoid generating invalid SQL (e.g.
when names have dashes).

Fixes Snowflake-Labs#1080
@adamantike
Copy link
Contributor Author

Another option to fix this issue would be to wrap the storage integration with AddressEscape(), though I don't see that function being frequently used in the code. Open to suggestions!

@sfc-gh-swinkler
Copy link
Collaborator

/ok-to-test sha=4b20d2c

@github-actions
Copy link

github-actions bot commented Jul 1, 2022

Integration tests success for 4b20d2c

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

Successfully merging this pull request may close these issues.

Stage creation fails when storage integration has special characters
3 participants