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

snowflake - uppercase model names? #567

Closed
drewbanin opened this issue Oct 15, 2017 · 2 comments
Closed

snowflake - uppercase model names? #567

drewbanin opened this issue Oct 15, 2017 · 2 comments
Labels
enhancement New feature or request snowflake

Comments

@drewbanin
Copy link
Contributor

This is a little confusing for new dbt users on snowflake. @cmcarthur should we default to uppercase model names? Or is uppercasing model names sufficient in your opinion?

@drewbanin drewbanin added enhancement New feature or request snowflake labels Oct 15, 2017
@rbkleung
Copy link

Per my conversation with one of Snowflake's sales engineer today, here's what I learned:

  • if you create table/view with double-quotes, then one must use double-quotes when referencing the table/view during its query.
  • if you create table/view without double-quotes, Snowflake will automatically transform the name to upper-case. However, one can still query against the table/view using lower-case (even thought Snowflake's UI describes it as upper-case).

My current conclusion, Snowflake is case insensitive unless you make it explicit with double-quotes.

@drewbanin drewbanin added this to the 0.9.1 milestone Nov 10, 2017
@drewbanin drewbanin removed this from the 0.9.1 milestone Dec 14, 2017
@drewbanin drewbanin added this to the Adapter Parity milestone Mar 6, 2018
@drewbanin
Copy link
Contributor Author

this is fixed in 0.10.1 with quoting config settings. Closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request snowflake
Projects
None yet
Development

No branches or pull requests

2 participants