-
Notifications
You must be signed in to change notification settings - Fork 2
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
update/default-schema-change #11
Conversation
models: | ||
twitter_organic_source: | ||
+materialized: table |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was masking the window function issues for Redshift. I'm removing this so we will always test to ensure the window functions work as expected across all warehouses per the default materialization.
twitter_organic_source: | ||
twitter_organic_account_history_identifer: "twitter_organic_account_history_data" | ||
twitter_organic_organic_tweet_report_identifer: "twitter_organic_organic_tweet_report_data" | ||
twitter_organic_tweet_identifer: "twitter_organic_tweet_data" | ||
twitter_organic_twitter_user_history_identifer: "twitter_organic_twitter_user_history_data" | ||
twitter_organic_schema: twitter_organic_integration_tests_1 | ||
twitter_account_history_identifier: "account_history" | ||
twitter_organic_tweet_report_identifier: "organic_tweet_report" | ||
twitter_tweet_identifier: "tweet" | ||
twitter_twitter_user_history_identifier: "twitter_user_history" | ||
twitter_organic_schema: twitter_organic_integration_tests_1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes were made to ensure the union_data macro was working as expected. We cannot effectively test the union_data macro when the seed files are named different from the expected source names.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fivetran-joemarkiewicz Confirmed the macros works as expected across all four cases you tested! One small changelog request but you're good for release review
- `int_twitter_organic__latest_account` | ||
- `int_twitter_organic__latest_user` | ||
|
||
## Under the Hood |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fivetran-joemarkiewicz bumping this one!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fivetran-catfritz this was already added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just need to add the auto-releaser line but otherwise lgtm for release!
- `int_twitter_organic__latest_account` | ||
- `int_twitter_organic__latest_user` | ||
|
||
## Under the Hood |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fivetran-joemarkiewicz bumping this one!
Co-authored-by: fivetran-catfritz <[email protected]>
PR Overview
This PR will address the following Issue/Feature: Twitter Organic Source Issue #10
This PR will result in the following new package version:
v0.3.0
While there are no breaking changes in this PR, there will be breaking changes in the upstream source package dependency. As such, this will also be breaking.
Please detail what change(s) this PR introduces and any additional information that should be known during the review of this PR:
PR Checklist
Basic Validation
Please acknowledge that you have successfully performed the following commands locally:
Before marking this PR as "ready for review" the following have been applied:
Detailed Validation
Please share any and all of your validation steps:
Please see the Twitter Organic Source PR #12 for evidence that the default schema name is now changed.
Additionally, I was able to verify with new consistency validation tests that the results are what we expect and there are no changes between dev and prod.
Lastly, in order to confirm the new window function conditional works as expected I was able to confirm the following compilation results:
1=1
logic.source_relation
field)1=1 as is_most_recent_record
.If you had to summarize this PR in an emoji, which would it be?
🐦