[
https://issues.apache.org/jira/browse/PHOENIX-6120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17194606#comment-17194606
]
Lars Hofhansl commented on PHOENIX-6120:
----------------------------------------
Interesting that none of our many index tests caught this.
What about local indexes? I see the test is skipped local indexes, yet the
changed IndexMaintainer code is used for both local and global indexes, right?
> Covered columns of indexes that have SINGLE_CELL_ARRAY_WITH_OFFSETS storage
> doesn't handle those columns
> --------------------------------------------------------------------------------------------------------
>
> 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: 20m
> Remaining Estimate: 0h
>
> 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,
--
This message was sent by Atlassian Jira
(v8.3.4#803005)