Skip to content

Commit 3256aaa

Browse files
authored
Merge branch 'transferwise:master' into master
2 parents 595813b + 2b25f69 commit 3256aaa

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
1.8.3 (2022-01-18)
2+
-------------------
3+
**Fixes**
4+
- INCREMENTAL: generate valid SQL to extract data from tables where no `replication_key_value` in the state file.
5+
16
1.8.2 (2022-01-14)
27
-------------------
38
**Fixes**

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
long_description = f.read()
77

88
setup(name='pipelinewise-tap-postgres',
9-
version='1.8.2',
9+
version='1.8.3',
1010
description='Singer.io tap for extracting data from PostgresSQL - PipelineWise compatible',
1111
long_description=long_description,
1212
long_description_content_type='text/markdown',

tap_postgres/sync_strategies/incremental.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def sync_table(conn_info, stream, state, desired_columns, md_map):
9090
else:
9191
#if not replication_key_value
9292
select_sql = f"""SELECT {','.join(escaped_columns)}
93-
FROM { post_db.fully_qualified_table_name(schema_name, stream['table_name']),}
93+
FROM { post_db.fully_qualified_table_name(schema_name, stream['table_name'])}
9494
ORDER BY {post_db.prepare_columns_sql(replication_key)} ASC"""
9595

9696
LOGGER.info('select statement: %s with itersize %s', select_sql, cur.itersize)

0 commit comments

Comments
 (0)