asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ildar Absalyamov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ASTERIXDB-1225) Allow creating multiple open indexes on promotable types
Date Fri, 11 Dec 2015 19:50:46 GMT
Ildar Absalyamov created ASTERIXDB-1225:
-------------------------------------------

             Summary: Allow creating multiple open indexes on promotable types
                 Key: ASTERIXDB-1225
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1225
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: Data Model, Optimizer
            Reporter: Ildar Absalyamov
            Assignee: Ildar Absalyamov
            Priority: Minor


Allow creating multiple open indexes on promotable types and pick the right index during the
optimization.
{noformat}
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;
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message