Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5932

View Index rebuild results in surplus rows from other view indexes

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.16.0
    • 5.1.0, 4.16.0
    • None
    • None

    Description

      Steps to reproduce

      1. Create a table with PK as COL1, COL2
      2. Create 2 views with different view constants on COL2. Also add other columns
      3. Upsert rows into the views
      4. 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

      Attachments

        1. PHOENIX-5932-4.x.001.patch
          21 kB
          Abhishek Singh Chouhan
        2. PHOENIX-5932-master.patch
          21 kB
          Abhishek Singh Chouhan
        3. PHOENIX-5932-4.x.001.patch
          21 kB
          Abhishek Singh Chouhan
        4. PHOENIX-5932-4.x.patch
          21 kB
          Abhishek Singh Chouhan
        5. PHOENIX-5932-wip-4.x.001.patch
          2 kB
          Abhishek Singh Chouhan
        6. PHOENIX-5932-wip-master.001.patch
          2 kB
          Abhishek Singh Chouhan
        7. PHOENIX-5932-wip-4.x.patch
          1 kB
          Abhishek Singh Chouhan
        8. PHOENIX-5932-wip-master.patch
          1 kB
          Abhishek Singh Chouhan

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            abhishek.chouhan Abhishek Singh Chouhan
            abhishek.chouhan Abhishek Singh Chouhan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2.5h
                2.5h

                Slack

                  Issue deployment