blob: 481cc3aaae8be9aa02adcd91de73519178a508d4 [file] [log] [blame]
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +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
7// This drop index test is broken for now.
8
9drop dataverse test if exists;
10create dataverse test;
11
12write output to nc1:"rttest/meta12.adm";
13
14create type test.testtype as open {
15id : int32,
16name : string
17}
18
19create dataset test.dst01(testtype) partitioned by key id;
20
21create index idx1 on test.dst01(name);
22
23drop index test.dst01.idx1;
24
25for $l in dataset('Metadata.Index')
26where $l.DatasetName = 'dst01'
27return $l