zhangwcoder opened a new issue #2409:
URL: https://github.com/apache/iceberg/issues/2409
Hi , i really need the new CDC feature write to the iceberg table。 I see
the feature has completed in the branch 0.11.0 ,and i try this today , but
this feature dos not works 。
First insert a record where Id = 1, and then use sql ”update tableA set xx =
xxx where id = 1“ to update the record in mysql 。 But the iceberg table can't
distinguish the update event, instead two records that id = 1 appeared in
the table ( I have correctly set the "equalityFieldColumns" fields ) 。
And then i delete this record in mysql , but this record still in the
iceberg table .
`List<String> pkNames = pkNames(database, tableName, parameterTool);
FlinkSink.forRowData(env.addSource(consumer).flatMap(new
IcebergTypeFunction()))
.table(table)
.tableLoader(tableLoader)
.writeParallelism(1)
.equalityFieldColumns(pkNames)
.build();`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]