blob: 0b6d0dd0659f475c0f24011b3e71cbf2033adffa [file] [log] [blame]
khfaraaz82@gmail.coma2716132012-04-30 06:20:50 +00001/*
2 * Test case Name : open-closed-01.aql
3 * Description : This test is intended to test insertion of additional data into an open type
4 * Expected Result : Success
5 * Date : April 2 2012
6 */
7
8drop dataverse test if exists;
9
10create dataverse test;
11
12use dataverse test;
13
14create type testType as{
15id : int32,
16name : string
17}
18
19create dataset testds(testType) partitioned by key id;
20
21insert into dataset testds({"id": 123, "name": "John Doe", "hobbies": {{ "scuba", "music" }} }
22);
23
24for $l in dataset("testds") return $l