Prevent index removal on partition table
What does this MR do and why?
Following up !101924 (merged) where we prevented index creation on a partition table.
This MR extends our index removal helper to make sure it is not being called on a partition table:
remove_concurrent_index
remove_concurrent_index_by_name
Why are we doing this?
This will avoid developer's mistake when dropping indexes on a partition table.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Max Orefice