blob: 8bfc24097e4935e70a71623fd4584b304a568b2c [file] [log] [blame]
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +00001/*
2 * Description : Create dataset & query Metadata dataset Dataset to verify.
3 * Expected Res : Success
4 * Date : 15 Sep 2012
5 */
6
7drop dataverse testdv if exists;
8create dataverse testdv;
9
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +000010write output to nc1:"mdtest/basic_meta02.adm";
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +000011
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +000012create type testdv.testtype as open {
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +000013id : int32
14}
15
16create dataset testdv.dst01(testtype) partitioned by key id;
17
18for $l in dataset('Metadata.Dataset')
19where $l.DataverseName = 'testdv' and $l.DatasetName = 'dst01'
20return $l
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +000021
22drop dataverse testdv;