blob: 10dbfc19f14910ccef0115dddfe4f15a83dc7448 [file] [log] [blame]
zheilbrone836fb92013-02-25 18:08:54 +00001/*
2 * Description : Tries to partition a dataset by a non-existent field
3 * Expected Result: An error reporting that this is not allowed
4 * Author: zheilbron
5 */
6
7drop dataverse test if exists;
8create dataverse test;
9use dataverse test;
10
11create type TestType as open{
12name1:string
13}
14
15create dataset testds(TestType) primary key id;
16
17insert into dataset testds({"name1":"John","name2":"Smith"});
18
19for $l in dataset('testds')
20return $l