Skip to content

Commit b82bafb

Browse files
authored
Merge pull request wintersrd#85 from s7clarke10/bug/fix_escaping_for_table_lsn_function
Passing in a non-escaped table to the lsn lookup function
2 parents d1c4540 + 61907ec commit b82bafb

File tree

5 files changed

+88
-77
lines changed

5 files changed

+88
-77
lines changed

.bumpversion.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 2.6.0
2+
current_version = 2.6.1
33
parse = (?P<major>\d+)
44
\.(?P<minor>\d+)
55
\.(?P<patch>\d+)

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# tap-mssql 2.6.1 2024-10-09
2+
* Resolving issue with call get the prior LSN number (passing in unescaped table).
3+
14
# tap-mssql 2.6.0 2024-09-02
25
* Resolving issue LOG_BASED tables with special characters. Escaping the object
36
names with double quotes. Issue #74

poetry.lock

+82-74
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "tap-mssql"
3-
version = "2.6.0"
3+
version = "2.6.1"
44
description = "A pipelinewise compatible tap for connecting Microsoft SQL Server"
55
authors = ["Rob Winters <[email protected]>"]
66
license = "GNU Affero"

tap_mssql/sync_strategies/log_based.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def sync_table(mssql_conn, config, catalog_entry, state, columns, stream_version
311311
).format(escaped_schema_name, escape_table_name)
312312
)
313313

314-
lsn_range = get_lsn_available_range(mssql_conn, escaped_cdc_table)
314+
lsn_range = get_lsn_available_range(mssql_conn, cdc_table)
315315

316316
if lsn_range[0] is not None: # Test to see if there are any change records to process
317317
lsn_from = str(lsn_range[0].hex())

0 commit comments

Comments
 (0)