[Flink CDC][Oracle] Flink CDC Table Initial Snapshot Only One Record #3027
Unanswered
superfive666
asked this question in
Q&A
Replies: 1 comment
-
And here is an updated observation on the behaviour of duplicated insert of records. However, as the archived log showing an update event "u", the downstream table should be updated according to the payload before and payload after in the merge-append process. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After setting up the oracle cdc table in our flink streamed table execution environment:
After execute the following statement:
We noticed that only one record with the earliest "ora_rowscn" was being added to the downstream iceberg table.
Anyone can suggest what could be the potential cause of this behaviour?
We did subsequent testing on the data replication:
insert into oracle.test_table (id, name) values (100, 'abcdabcd'); commit;
This record is being replicated successfully in the downstream iceberg table.
After we do the update:
update oracle.test_table set name = 'defdefdef' where id = 100; commit;
We noticed the bug that in the downstream table, there are 2 records:
Could this be due to the reason of composite primary key(id, name)?
Anyone can share any insight on this?
Beta Was this translation helpful? Give feedback.
All reactions