Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-2157

Allow column to be added to PK of a view when last PK column of table is variable length

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      We currently disallow adding a column to the PK of a view if the last column of the base table is variable length. The reason is that we would no longer be able to correctly read rows of the derived view from the base table. This is because we assume that we do not need to search for a separator byte for the last PK column. Instead, if the column is variable length, we'd navigate by searching for the terminator and stopping if we reach the end of the byte array.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: