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 QUOTED_IDENTIFIERS_IGNORE_CASE errors (#982) #998

Merged

Conversation

beckjake
Copy link
Contributor

When QUOTED_IDENTIFIERS_IGNORE_CASE is set, avoid causing errors in the catalog. Add a test for the same. Fixes #982.

PR #992 masked this issue, in a bad, potentially silently-dropping-data way, so I also had to add an exception that re-exposes it.

@beckjake beckjake force-pushed the fix/snowflake-quoted-identifiers-case-docs branch from 7f13a25 to 260572e Compare September 12, 2018 18:46
'QUOTED_IDENTIFIERS_IGNORE_CASE':True
}
return old_connect(*args, **kwargs)
with patch.object(snowflake_impl.snowflake.connector, 'connect', connect):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clever!

Copy link
Contributor

@drewbanin drewbanin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm when the tests pass

@beckjake beckjake force-pushed the fix/snowflake-quoted-identifiers-case-docs branch from 260572e to 40f009f Compare September 12, 2018 21:23
@beckjake beckjake merged commit f473eae into dev/lucretia-mott Sep 13, 2018
@beckjake beckjake deleted the fix/snowflake-quoted-identifiers-case-docs branch September 13, 2018 03:21
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.

3 participants