-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[source-tiktok] Remove audience reports hourly streams #20598
Changes from 4 commits
27c85d1
473d0b7
b8a9262
f9ed877
9dd5afe
e699cd1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,13 +108,6 @@ | |
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"] | ||
}, | ||
{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This streams.json I don't think is actually used in our acceptance test YAML but just keeping this up to date regardless |
||
"name": "advertisers_audience_reports_hourly", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh", "incremental"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["stat_time_hour"] | ||
}, | ||
{ | ||
"name": "advertisers_audience_reports_daily", | ||
"json_schema": {}, | ||
|
@@ -127,41 +120,20 @@ | |
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"] | ||
}, | ||
{ | ||
"name": "ads_audience_reports_hourly", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh", "incremental"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["stat_time_hour"] | ||
}, | ||
{ | ||
"name": "ads_audience_reports_daily", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh", "incremental"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["stat_time_day"] | ||
}, | ||
{ | ||
"name": "ad_group_audience_reports_hourly", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh", "incremental"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["stat_time_hour"] | ||
}, | ||
{ | ||
"name": "ad_group_audience_reports_daily", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh", "incremental"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["stat_time_day"] | ||
}, | ||
{ | ||
"name": "campaigns_audience_reports_by_country_hourly", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh", "incremental"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["stat_time_hour"] | ||
}, | ||
{ | ||
"name": "campaigns_audience_reports_by_country_daily", | ||
"json_schema": {}, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,8 +134,8 @@ def test_random_items(prepared_prod_args): | |
@pytest.mark.parametrize( | ||
"config, stream_len", | ||
[ | ||
(PROD_CONFIG_FILE, 26), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We have 4 less hourly streams (1 for each audience report) in prod accounts |
||
(SANDBOX_CONFIG_FILE, 19), | ||
(PROD_CONFIG_FILE, 22), | ||
(SANDBOX_CONFIG_FILE, 16), | ||
], | ||
) | ||
def test_source_streams(config, stream_len): | ||
|
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.
Removing streams are considered a breaking change, however we need to do this because the streams aren't usable any more. We will communicate this to the customers attempting to use these non-working streams to reset or disable them.