From 7add75c05cc595b2975da62613fab85642d6d786 Mon Sep 17 00:00:00 2001 From: Peter Kosztolanyi Date: Fri, 22 Feb 2019 11:55:40 +0000 Subject: [PATCH] Separate schema and stream name by '-' --- tap_postgres/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tap_postgres/db.py b/tap_postgres/db.py index 9f8c256..b31f4d2 100644 --- a/tap_postgres/db.py +++ b/tap_postgres/db.py @@ -13,7 +13,7 @@ def calculate_destination_stream_name(stream, md_map): if include_schemas_in_destination_stream_name: - return "{}_{}".format(md_map.get((), {}).get('schema-name'), stream['stream']) + return "{}-{}".format(md_map.get((), {}).get('schema-name'), stream['stream']) return stream['stream']