-
Notifications
You must be signed in to change notification settings - Fork 134
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
BUG?! base_ga4__events.sql --> Dynamic vs Static partitions IF clause #31
Comments
I noticed a lot of weirdness related to this feature a couple of days ago. If you know a fix, please submit it because I'm a little confused as to why it's not working. I noticed this while working on the streaming branch. I've also posted my issue in the dbt Slack, but haven't gotten an answer there https://getdbt.slack.com/archives/C99SNSRTK/p1657911399355319. |
Actually, I have this fixed in the streaming PR request. My issue in testing seems to be from having multiple profiles on my test machine and somehow my test is getting the wrong data creating what appears to be an error. |
@dgitis - sorry I did not want to interfere with other changes you might have made for streaming support, therefore I decided to create this PR and limit to this bug fix. thanks for co-operation. |
Great find! Mistake on my part: I meant to look for |
Context: base_ga4__events.sql -> Line #1 & Line #58
Issues: the conditional IF statement is not executing as expected
{% if var('static_incremental_days', false ) == true %}
Impact: even though I have set a variable
static_incremental_days: 3
in dbt_project.yml file, the compiled code still rendering statements meant for dynamic-partitions and not static-partitions as expected@adamribaudo I can fix, create PR to merge if you agree ?
The text was updated successfully, but these errors were encountered: