blob: 0da14745106c5fb3e4381374d5b61016d5ff3fc4 [file] [log] [blame]
khfaraaz82@gmail.coma2716132012-04-30 06:20:50 +00001/*
2 * Test case name : open-closed-18.aql
3 * Description : Test insertion of additional data into an open type internal dataset.
4 * Success : Yes
5 * Date : 29 April 2012
6 */
7
8drop dataverse test if exists;
9create dataverse test;
10use dataverse test;
11
12create type TestType as open {
13id:int32
14}
15
16create dataset testds(TestType) partitioned by key id;
17
18insert into dataset testds( for $i in range(1,10) return { "id":$i,"name":"John Doe" });
19
20for $l in dataset('testds')
21return $l