/* | |
* Description : Create dataset & query Metadata dataset Dataset to verify. | |
* Expected Res : Success | |
* Date : 15 Sep 2012 | |
*/ | |
drop dataverse testdv if exists; | |
create dataverse testdv; | |
write output to nc1:"mdtest/basic_meta02.adm"; | |
create type testdv.testtype as open { | |
id : int32 | |
} | |
create dataset testdv.dst01(testtype) partitioned by key id; | |
for $l in dataset('Metadata.Dataset') | |
where $l.DataverseName = 'testdv' and $l.DatasetName = 'dst01' | |
return $l | |
drop dataverse testdv; |