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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            jamestaylor James Taylor
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development