blob: 7778e990c70ea2ae26a16df4c83f5fb4bb967645 [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
ramangrover29669d8f62013-02-11 06:03:32 +000016create dataset testdv.dst01(testtype) primary key id;
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +000017
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;