Open kolbe opened 4 years ago
Maybe instead of doing the weird syntax with commented out comments, it's better to be more explicit?
ALTER TABLE X
MODIFY COLUMN Y ...
/*+ tidb_comment_start */
ALGORITHM INPLACE
/*+ tidb_comment_end */
;
I'm going to mark this feature request as accepted, but the solution needs more discussion.
Feature Request
Is your feature request related to a problem? Please describe:
Sometimes, there are syntax elements that are required in MySQL (or MariaDB, etc.) but might be unnecessary in TiDB or might cause errors.
Describe the feature you'd like:
It would be nice if there was a way to tell TiDB to ignore sections of a query while still allowing them to be parsed by other database systems.
For example:
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
This would be really useful during migrations and PoCs where a user may want code that can run on TiDB as well as on other databases.