blob: e985ab416ee7721086cec42ce75b4aba63cd47b4 [file] [log] [blame]
khfaraaz82@gmail.come4353172012-05-31 00:09:40 +00001/*
2 * Testcase Name : open-closed-24.aql
3 * Description : Test use of additional data(open) field in create type statement
4 * Success : Yes
5 * Date : 29th May 2012
6 */
7
8drop dataverse test if exists;
9
10create dataverse test;
11
12use dataverse test;
13
14create type testType as open {
15id : int32,
16name : string,
17opt_tag : {{ string }}
18}
19
20create dataset testds(testType) partitioned by key id;
21
22insert into dataset testds({"id": 32,"name": "UCI","opt_tag":{{"optional text","put any text here","and more"}}});
23
24for $l in dataset('testds')
25return $l