blob: b2e7304ec543ad968bdf1d7d9046cd3b3d34fb55 [file] [log] [blame]
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +00001/*
2 * Description : Create open type & query Metadata dataset Datatype 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_meta04.adm";
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +000011
12create type testdv.testtype as open {
13id : int32
14}
15
16for $l in dataset('Metadata.Datatype')
17where $l.DataverseName='testdv' and $l.DatatypeName='testtype'
18return $l
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +000019
20drop dataverse testdv;