Abhishek Singh Chouhan created PHOENIX-5932:
-----------------------------------------------

             Summary: View Index rebuild results in surplus rows from other 
view indexes
                 Key: PHOENIX-5932
                 URL: https://issues.apache.org/jira/browse/PHOENIX-5932
             Project: Phoenix
          Issue Type: Improvement
    Affects Versions: 4.16.0
            Reporter: Abhishek Singh Chouhan
            Assignee: Abhishek Singh Chouhan


Steps to reproduce
 # Create a table with PK as COL1, COL2
 # Create 2 views with different view constants on COL2. Also add other columns
 # Upsert rows into the views
 # Create indexes on the views. Rebuild will result in each view index having 
rows from other view also

This is because we set the filter on scan to null during rebuild 
[here|[https://github.com/apache/phoenix/blob/4.x/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/UngroupedAggregateRegionObserver.java#L1084]



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

Reply via email to