[ 
https://issues.apache.org/jira/browse/PHOENIX-6120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gokcen Iskender updated PHOENIX-6120:
-------------------------------------
    Description: 
This Jira is a followup Jira of PHOENIX-5923 where data and index might have 
different storage and encoding formats. IndexMaintainer and protobuf needs to 
change to handle this. Right now, index maintainer assumes both index and data 
tables have the same format. The protobuf needs to be changed so that 
IndexMaintainer knows about the data table storage and encoding formats

Repro:
 # Create a table with ONE_CELL_PER_COLUMN storage format
 # Create an index that has covered columns and the IMMUTABLE_STORAGE_SCHEME is 
SINGLE_CELL_ARRAY_WITH_OFFSETS
 # Upsert rows to data table
 # Query the covered column using index --> Null value is returned even though 
there is a value. 

IndexMaintainer has a 4 year old code that doesn't return a value for covered 
columns,

  was:
Repro:
 # Create an index that has covered columns and the IMMUTABLE_STORAGE_SCHEME is 
SINGLE_CELL_ARRAY_WITH_OFFSETS
 # Upsert rows to data table
 # Query the covered column using index --> Null value is returned even though 
there is a value. 

IndexMaintainer has a 4 year old code that doesn't return a value for covered 
columns,

        Summary: Change IndexMaintainer for SINGLE_CELL_ARRAY_WITH_OFFSETS 
indexes. Currently it assumes data and index table having the same storage and 
encoding format.  (was: Covered columns of indexes that have 
SINGLE_CELL_ARRAY_WITH_OFFSETS storage doesn't handle those columns)

> Change IndexMaintainer for SINGLE_CELL_ARRAY_WITH_OFFSETS indexes. Currently 
> it assumes data and index table having the same storage and encoding format.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-6120
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6120
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Gokcen Iskender
>            Priority: Major
>         Attachments: PHOENIX-6120.master.001.patch, 
> PHOENIX-6120.master.002.patch
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> This Jira is a followup Jira of PHOENIX-5923 where data and index might have 
> different storage and encoding formats. IndexMaintainer and protobuf needs to 
> change to handle this. Right now, index maintainer assumes both index and 
> data tables have the same format. The protobuf needs to be changed so that 
> IndexMaintainer knows about the data table storage and encoding formats
> Repro:
>  # Create a table with ONE_CELL_PER_COLUMN storage format
>  # Create an index that has covered columns and the IMMUTABLE_STORAGE_SCHEME 
> is SINGLE_CELL_ARRAY_WITH_OFFSETS
>  # Upsert rows to data table
>  # Query the covered column using index --> Null value is returned even 
> though there is a value. 
> IndexMaintainer has a 4 year old code that doesn't return a value for covered 
> columns,



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to