James Taylor created PHOENIX-2157:
-------------------------------------

             Summary: Allow column to be added to PK of a view when last PK 
column of table is variable length
                 Key: PHOENIX-2157
                 URL: https://issues.apache.org/jira/browse/PHOENIX-2157
             Project: Phoenix
          Issue Type: Bug
            Reporter: James Taylor


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.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to