-
Notifications
You must be signed in to change notification settings - Fork 29
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
materialization_view_fabric macro is not able to find correct relation when re-running a dbt model #236
Comments
update, this is due to the |
@il-hanna , can you share what you did to resolve this issue? It would help others, and I will see how this can be resolved. |
ah sure, I was using this in the dbt_project.yml file the problem occurred when I was using database: false, while the database name in Fabric is upper-cased, if I switched it to true technically it should be ok, but then I'd run into problem with some dbt packages --> so what I did was a combination of quoting definition above + changing the database name on Fabric to be lower-cased. For the Hope that clears it up. |
Thanks @il-hanna , The issue is that both object names and data are case sensitive by default. We recently launched CI data option. CI option for metadata will soon be available. With that, you should not have this problem. I am wait on the metadata CI (CI on objects) to address this problem |
Description
I'm running into this case where:
dbt run
that model again (with existing materialization type still = table) dbt returns this errorExpected behavior
dbt-fabric
materialization macro is searching for a lower cased schema (while it should have respected the casing of the original schema), drop that object, then rebuild.The text was updated successfully, but these errors were encountered: