You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Flink doesn't support the statement INSERT ... ON DUPLICATE KEY UPDATE.
It is a common requirement that updates some fields based on the primary key in the Materialized View scenario.
Solution
Use SQL hints to Achieve semantics INSERT ... ON DUPLICATE KEY UPDATE.
Prune column to get the needed columns
Use InsertOrDuplicateKeyUpdateOutputFormat to generate statement INSERT ... ON DUPLICATE KEY UPDATE and batch execute them in TiDB.
Problem
Currently, Flink doesn't support the statement
INSERT ... ON DUPLICATE KEY UPDATE
.It is a common requirement that updates some fields based on the primary key in the
Materialized View
scenario.Solution
INSERT ... ON DUPLICATE KEY UPDATE
.InsertOrDuplicateKeyUpdateOutputFormat
to generate statementINSERT ... ON DUPLICATE KEY UPDATE
and batch execute them in TiDB.Design
#198
Implement
#196
Test
#196
Doc
#196
The text was updated successfully, but these errors were encountered: