Skip to content

Commit 60fc24f

Browse files
committed
DMS/DynamoDB: Fix table name quoting within CDC processor handler
1 parent e2defa8 commit 60fc24f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33

44
## Unreleased
5+
- DMS/DynamoDB: Fix table name quoting within CDC processor handler
56

67
## 2024/08/26 v0.0.19
78
- MongoDB: Fix and verify Zyp transformations

cratedb_toolkit/io/processor/kinesis_lambda.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ def handler(event, context):
127127
connection.execute(sa.text(operation.statement), parameters=operation.parameters)
128128

129129
# Processing alternating CDC events requires write synchronization.
130-
# FIXME: Needs proper table name quoting.
131-
connection.execute(sa.text(f"REFRESH TABLE {CRATEDB_TABLE}"))
130+
connection.execute(sa.text(f"REFRESH TABLE {cdc.quote_table_name(CRATEDB_TABLE)}"))
132131

133132
connection.commit()
134133

0 commit comments

Comments
 (0)