Skip to content
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

HackerOne specific changes #1

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

HackerOne specific changes #1

wants to merge 11 commits into from

Conversation

mvgijssel
Copy link

@mvgijssel mvgijssel commented Oct 25, 2021

HackerOne necessary changes

@@ -116,8 +116,7 @@ def sync_method_for_streams(streams, state, default_replication_method):
continue

if replication_method == 'LOG_BASED' and stream_metadata.get((), {}).get('is-view'):
raise Exception(f'Logical Replication is NOT supported for views. ' \
f'Please change the replication method for {stream["tap_stream_id"]}')
continue
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a quick fix for not having to specify each entity that's a view in the Meltano select. Long term we can look at downloading the catalog, modifying all streams marked as views and use a custom catalog for the extractor.

@mvgijssel mvgijssel changed the title Add replica option HackerOne specific changes Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants