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

Local Index - Empty resultset for multi-tenant tables

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.10.0
    • Fix Version/s: 4.11.0
    • Labels:

      Description

      Schema

      CREATE TABLE IF NOT EXISTS T (PKA CHAR(15) NOT NULL, PKF CHAR(3) NOT NULL,
       PKP CHAR(15) NOT NULL, CRD DATE NOT NULL, EHI CHAR(15) NOT NULL, STD_COL VARCHAR, INDEXED_COL INTEGER,
       CONSTRAINT PK PRIMARY KEY ( PKA, PKF, PKP, CRD DESC, EHI)) 
       VERSIONS=1,MULTI_TENANT=true,IMMUTABLE_ROWS=true;
      
      CREATE LOCAL INDEX IF NOT EXISTS TIDX ON T (INDEXED_COL);
      

      Query

      SELECT * FROM T WHERE INDEXED_COL < 1
      

      Resultset is empty for all columns other than PK and indexed column. This is on a single region table.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jamestaylor James Taylor
                Reporter:
                mujtabachohan Mujtaba Chohan
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: