-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat/430/handle custom schemas #438
base: main
Are you sure you want to change the base?
feat/430/handle custom schemas #438
Conversation
Sourcery Code Quality Report❌ Merging this PR will decrease code quality in the affected files by 0.06%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |
Thanks for opening this PR @PaulMatthieu I'll have a look in the coming days and see what we can do to get this merged as soon as possible. |
I realized while testing this that this change ignore whatever is written in the |
Thanks a lot for this @PaulMatthieu I think this is totally a welcome change!
That's indeed a problem because we re-implemented everything back in the day when the dbt API wasn't really stable. I think the best way to really tackle this would be to leverage the dbt API more now that it's stable. But that's quite a bigger thing. My guess, here, would be that we have to temporarily document that limitation. Do I get that right? |
Btw, I'm not sure if you say but a bunch of unit tests are failing on this PR, do you need help with it? |
Description
DBT lets you use custom schemas. This add the ability for dbt-sugar to parse those custom schemas and find the correct tables & columns during tasks.
How was the change tested
I tested it against our analytics db at Withings but their are multiple ways to use custom schemas so I probably should add some functional tests based on maintainers feedbacks.
Issue Information
Closes #430
Checklist