Comments (9)
Awesome! Sure thing! Will do it tomorrow:) Thanks a ton!
from dbt_ad_reporting.
Thanks again for the contributor @nszoni 🏅
Now that the apple_search_ads_source PR has been merged and released, this issue should be resolved. Closing out this issue. Please feel free to reopen if the issue persists.
from dbt_ad_reporting.
Hi @nszoni thanks so much for opening this Issue and I am sorry you are experiencing this bug.
I would believe the inclusion of the ad_reporting__apple_search_ads_enabled: False
would properly disable the entire apple ad source file and not run the source freshness.
Before delving too deep I am curious about one item in particular. Would you be able to try and lowercase the false
in your variable declarations for the apple ads variables. I have experienced dbt getting confused with the mixed casing in the past and want to rule that out initially.
from dbt_ad_reporting.
hey @fivetran-joemarkiewicz thanks for taking this up! I've tried keeping all of them lowercase, but it still wants to check the apple ad source.
from dbt_ad_reporting.
Hi @nszoni thanks for checking my suspicious and showing that there is something more going on here. I have been able to replicate your variables in my local environment and notice the same error you are seeing.
I have been able to narrow the issue down to this line within the Apple Search Ads Source package.
Our intention is that this enablement would be disabled if either (or both) the apple search variables are set to false
. However, after checking the under the hood rendering, it looks like it simply returns as False and False
which does not in fact disable the source freshness. I am currently tinkering to see what new config would work to achieve the expected outcome we are looking for. I will be sure the share an update once I find the fix!
from dbt_ad_reporting.
On the topic of the False and False
rendering, I just stumbled upon this Issue from dbt-core that mentions this exact issue and how there is no validation for situations like this.
It seems dbt Labs released a fix in dbt-core v1.3.1 that raises a more appropriate warning. I imagine if we both upgrade to the latest v1.3.1 then we will se the appropriate error. Nevertheless, I will continue working to uncover a fix for this issue.
from dbt_ad_reporting.
@fivetran-joemarkiewicz nice catch! I will also keep investigating if i find something else:) Thanks!
from dbt_ad_reporting.
Looks like my team and I were able to find the root cause! When we adjusted the line noted above to be the below snippet it worked as intended!
config:
enabled: "{{ var('ad_reporting__apple_search_ads_enabled', true) and var('apple_search_ads__using_search_terms', true) }}"
This should result in a quick update to the apple_search_ads_source package to use the above line in place of what we currently have.
I noticed you are open to creating a PR to fix this issue. Would you be interested in opening a PR on our Apple Search Ads Source package to address this? Otherwise we can fold this update into our coming sprint.
from dbt_ad_reporting.
@jonatfivetran here you go!:) 👆
from dbt_ad_reporting.
Related Issues (20)
- [Feature] Update metrics spec to be 1.6 compatiable HOT 1
- [Feature] Add geography dimensions to shared data marts HOT 1
- [Bug] Update semantic model name HOT 2
- [Bug] manifest generation error HOT 9
- [Bug] dbt manifest generation failed HOT 7
- [Bug] Manifest generation failure HOT 2
- [Bug] Issue while running facebook_ads transformations with new schema or for a new instance or environment HOT 2
- [Bug] Compilation Error Could not render {{ metric('spend') }} / {{ metric('clicks') }}: 'metric' is undefined HOT 5
- [Bug] Inconsistency in default value for var `twitter_ads__using_keywords` HOT 1
- [Bug] Metric arguments need to be renamed HOT 4
- [Bug] Compilation error - duplicate macro name for child packages
- [FEATURE] Missing table 'keyword_report' in dbt Pinterest package HOT 13
- [Bug] ad_reporting 1.2.0 does not work on dbt 1.4.1 HOT 4
- [Bug] Error in int_ad_reporting__url_report.sql HOT 4
- [Feature] Add ability to pass through metrics to final ad reporting models HOT 1
- [Bug] Unable to define database variables using Unity Catalog for Google Ads Source HOT 5
- [Feature] Support multiple connectors from the same source
- [Feature] Add documentation on differences among aggregations across different grains
- [Bug] Add correct variable name (passthrough metric) in `ad_reporting__url_report` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbt_ad_reporting.