Closed radix closed 3 years ago
If anyone has any suggestions for how to work around this issue and interact with a table with a lowercase name, I would appreciate it.
I discovered that I can pass quote=True
when constructing a Table
instance.
Using this parameter should be the correct way to force case sensitivity. Since the object name is lowercase on the Snowflake side, quotes need to be used to force the identifier to be treated as lower case. Otherwise, Snowflake will treat the identifier as upper case (which is the default).
python --version
)?3.7.10
python -c 'import platform; print(platform.platform())'
)?Linux-4.19.128-microsoft-standard-x86_64-with-Ubuntu-20.04-focal
pip list
)?I tried doing a trivial query against a database that has lowercase table names.
Here's a reproduction script, trying to query
article.article_id
.I expected to get a row of results
I got an error about about "ARTICLE" not existing, especially given that it was able to introspect that table correctly.
This didn't really give any more useful information as far as I can tell.