Skip to content

Commit d6d5898

Browse files
committed
Do not refresh streams schema on sync
See discussion at transferwisegh-129. Fix transferwisegh-101, fix transferwisegh-128.
1 parent 14a0be5 commit d6d5898

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tap_postgres/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,9 @@ def do_sync(conn_config, catalog, default_replication_method, state, state_file=
287287
else:
288288
end_lsn = None
289289

290-
refresh_streams_schema(conn_config, streams)
290+
# Do *not* refresh streams schema on sync
291+
# See https://github.com/transferwise/pipelinewise-tap-postgres/pull/129
292+
# refresh_streams_schema(conn_config, streams)
291293

292294
sync_method_lookup, traditional_streams, logical_streams = \
293295
sync_method_for_streams(streams, state, default_replication_method)

0 commit comments

Comments
 (0)