You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gokcen Iskender (Jira)" <ji...@apache.org> on 2021/01/07 18:39:00 UTC

[jira] [Updated] (PHOENIX-6120) Change IndexMaintainer for SINGLE_CELL_ARRAY_WITH_OFFSETS indexes. Currently it assumes data and index table having the same storage and encoding format.

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

Gokcen Iskender updated PHOENIX-6120:
-------------------------------------
    Attachment: PHOENIX-6120-addendum.4.x.001.patch

> 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: Sub-task
>            Reporter: Gokcen Iskender
>            Priority: Major
>         Attachments: PHOENIX-6120-addendum.4.x.001.patch, PHOENIX-6120.4.x.001.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)