Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Much like PHOENIX-1504 allows a column to be added to a base view, we should support dropping a column from a table that has views as well. These seems like a simpler problem: you just need to query for all views with a BASE_COLUMN_COUNT < dropped_column_ordinal_pos, decrement the ordinal positions of columns after that, and drop indexes that reference the column being dropped.