Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
ddl: support alter algorithm INPLACE/INSTANT #8811
What problem does this PR solve?
MySQL support COPY/INPLACE/INSTANT/DEFAULT alter algorithm, you can get the details in https://dev.mysql.com/doc/refman/8.0/en/alter-table.html#alter-table-performance
In TiDB, we only support INPLACE/INSTANT, and the most algorithm of the alter operations is the
The add index using
If user specifies the unsupported algorithm of the alter operation, a wanrning
Need to merge pingcap/parser#93 first.
@winkyao I spoke to MySQL users about the error on
1 similar comment
@@ Coverage Diff @@ ## master #8811 +/- ## ========================================== + Coverage 67.07% 67.15% +0.08% ========================================== Files 372 373 +1 Lines 78085 78113 +28 ========================================== + Hits 52373 52459 +86 + Misses 21043 20966 -77 - Partials 4669 4688 +19