blob: 6a99187c4a2ad9024d1bef4e335db2542e046ab0 [file] [log] [blame]
/*
* Description : Create primary & secondary indexes & query Metadata dataset to verify.
* Expected Res : Success
* Date : 15 Sep 2012
*/
drop dataverse testdv if exists;
create dataverse testdv;
write output to nc1:"rttest/meta05.adm";
create type testdv.testtype as open {
id : int32,
name : string
}
create dataset testdv.t1(testtype) partitioned by key id;
create index idx1 on testdv.t1(name);
for $l in dataset('Metadata.Index')
where $l.DataverseName='testdv'
return $l