Bug #104970 | EXCHANGE PARTITION fails for table altered with ALGORITHM=INSTANT | ||
---|---|---|---|
Submitted: | 17 Sep 2021 11:17 | Modified: | 22 Sep 2021 18:54 |
Reporter: | Amish Shah | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 8.0 | OS: | Any |
Assigned to: | Jon Stephens | CPU Architecture: | Any |
Tags: | add column, erro 1731, exchange partition, instant algorithm |
[17 Sep 2021 11:17]
Amish Shah
[17 Sep 2021 13:47]
MySQL Verification Team
Hi Mr. Shah, Thank you for your bug report. We have discovered, by analysing our code, that you can not perform the EXCHANGE operation if you had instantly added columns in either table(s) or partition(s). However, we have also discovered that this is not documented at all, in our Reference Manual. Furthermore, we discovered that there is a whole family of errors, related to the EXCHANGE operation, that are not documented at all in our Manual. Hence, this report is verified as a Documentation bug. Thank you for your report.
[17 Sep 2021 14:36]
Amish Shah
Can you accept this as feature request? It will be very helpful for partitioned tables while adding new columns.
[20 Sep 2021 12:10]
MySQL Verification Team
Hi Mr. Shah, We are afraid that it is not possible. There are premises on which EXCHANGE is designed, so it would require a whole new redesign and reprogramming of the feature. However, we shall pass your note to the team in charge.
[22 Sep 2021 18:54]
Jon Stephens
Fixed in mysqldoc rev 70876. The changes should appear in the online documentation within a day or two. Thanks for bringing this to our attention. Closed.
[23 Sep 2021 12:08]
MySQL Verification Team
Thank you, Jon.
[11 Sep 14:46]
Alpesh Pradhan
Hello MySql Team, This adds restriction on adding new column in tables. For big size tables it requires re-populating new table with INPLACE column, this is time consuming and heavy operation for production environment. can you work on this feature actively as its been 3 years since its reported.