Gokcen Iskender created PHOENIX-6219:
----------------------------------------
Summary: GlobalIndexChecker should work for
index:SINGLE_CELL_ARRAY_WITH_OFFSETS and data:ONE_CELL_PER_COLUMN
Key: PHOENIX-6219
URL: https://issues.apache.org/jira/browse/PHOENIX-6219
Project: Phoenix
Issue Type: Sub-task
Reporter: Gokcen Iskender
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)