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

convert schemaname to lowercase #523

Closed
bram-83 opened this issue Dec 4, 2023 · 2 comments
Closed

convert schemaname to lowercase #523

bram-83 opened this issue Dec 4, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@bram-83
Copy link

bram-83 commented Dec 4, 2023

Describe the bug

when we are using mixed case in our schema, dbt doesn't find the schema

Steps To Reproduce

used mixed / upper casing in the schema name

Expected behavior

dbt should recognize the schema and apply incremental when applicable.

Via trial and error, I've found that the incremental load only works when the schema's are defined in lowercase. In our CI/CD process, new branches/schema's can have mixed case.

Probably changing the schemaPattern to lowercase would fix the issue.
Listing tables 'catalog : qas, schemaPattern : CH-temp2_prep_md, tableTypes : null, tableName : null'

System information

The output of dbt --version:
Running with dbt=1.7.3
Registered adapter: databricks=1.7.2

Thanks in advance,
Regards Bram

@bram-83 bram-83 added the bug Something isn't working label Dec 4, 2023
@benc-db
Copy link
Collaborator

benc-db commented Dec 5, 2023

Thanks for the report!

@benc-db
Copy link
Collaborator

benc-db commented Jan 12, 2024

This should be fixed in the next version. You can try installing from the repo directly, or keep your eyes open next week for 1.7.4

@benc-db benc-db closed this as completed Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants