Skip to content

Commit 8f29942

Browse files
committed
fix(replication): Add target_options for table DDL in run_state_test to set replica identity
1 parent 238f478 commit 8f29942

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmd/sling/tests/replications/r.57.run_state_test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,11 @@ hooks:
151151
streams:
152152
public.run_state_test:
153153
object: public.run_state_test2
154+
target_options:
155+
table_ddl: |
156+
create table {object.full_name} ({col_types});
157+
alter table {object.full_name} replica identity full
154158
hooks:
155-
pre_merge:
156-
- type: query
157-
connection: '{target.name}'
158-
query: alter table {object.temp_full_name} replica identity full
159159
post:
160160
- type: log
161161
message: |

0 commit comments

Comments
 (0)