blob: 10dbfc19f14910ccef0115dddfe4f15a83dc7448 [file] [log] [blame]
/*
* Description : Tries to partition a dataset by a non-existent field
* Expected Result: An error reporting that this is not allowed
* Author: zheilbron
*/
drop dataverse test if exists;
create dataverse test;
use dataverse test;
create type TestType as open{
name1:string
}
create dataset testds(TestType) primary key id;
insert into dataset testds({"name1":"John","name2":"Smith"});
for $l in dataset('testds')
return $l