Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1508 VIEW enhancements
  3. PHOENIX-2156

Support drop of column from table with views

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.8.0
    • 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.

      Attachments

        1. PHOENIX-2156.patch
          52 kB
          Thomas D'Silva
        2. PHOENIX-2156-v2.patch
          150 kB
          Thomas D'Silva
        3. PHOENIX-2156-v3.patch
          269 kB
          Thomas D'Silva
        4. PHOENIX-2156-v4.patch
          280 kB
          Thomas D'Silva

        Activity

          People

            tdsilva Thomas D'Silva
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: