Skip to content

Commit

Permalink
Don't process views
Browse files Browse the repository at this point in the history
  • Loading branch information
mvgijssel committed Oct 25, 2021
1 parent 992d705 commit a073f5c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tap_postgres/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

if replication_method == 'FULL_TABLE':
lookup[stream['tap_stream_id']] = 'full'
Expand Down

0 comments on commit a073f5c

Please sign in to comment.