blob: 1de7ac557f9330d97b278eb22943765f36cae9c3 [file] [log] [blame]
jarodwencbbab142013-02-01 07:56:46 +00001/*
2 * Description : Create secondary index and drop the secondary index and query metadata to verify drop index.
3 * Expected Res : Success
4 * Date : Sep 17 2012
5 */
6
7drop dataverse test if exists;
8create dataverse test;
9
10write output to nc1:"mdtest/basic_meta12.adm";
11
12create type test.testtype as open {
13id : int32,
14name : string
15}
16
17create dataset test.dst01(testtype) partitioned by key id;
18
19create index idx1 on test.dst01(name);
20
21drop index test.dst01.idx1;
22
23for $l in dataset('Metadata.Index')
24where $l.DatasetName = 'dst01'
25return $l
26
27drop dataverse test;