Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-1225

Allow creating multiple open indexes on promotable types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      Allow creating multiple open indexes on promotable types and pick the right index during the optimization.

      drop dataverse test if exists;
      create dataverse test;
      use dataverse test;
      
      create type Emp as open {
      id:int64,
      fname:string,
      lname:string,
      dept:string
      }
      
      create dataset employee(Emp) primary key id;
      
      create index idx_employee_age32 on employee(age:int32) enforced;
      create index idx_employee_age64 on employee(age:int64) enforced;
      

      Attachments

        Activity

          People

            iabsalyamov Ildar Absalyamov
            iabsalyamov Ildar Absalyamov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: