Feature Request
Is your feature request related to a problem? Please describe:
Describe the feature you'd like:
This is a feature from MySQL 8.0:
https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_sql_require_primary_key
It allows you to enforce tables have a primary key. It has more meaning in MySQL because row-based replication benefits from it (Edit that: it very much applies to TiCDC), and InnoDB is less efficient when using its internal primary key. But it's still useful.
Describe alternatives you've considered:
N/A - compatibility feature.
Teachability, Documentation, Adoption, Migration Strategy:
Compatibility feature
Feature Request
Is your feature request related to a problem? Please describe:
Describe the feature you'd like:
This is a feature from MySQL 8.0:
https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_sql_require_primary_key
It allows you to enforce tables have a primary key.
It has more meaning in MySQL because row-based replication benefits from it(Edit that: it very much applies to TiCDC), and InnoDB is less efficient when using its internal primary key. But it's still useful.Describe alternatives you've considered:
N/A - compatibility feature.
Teachability, Documentation, Adoption, Migration Strategy:
Compatibility feature