khfaraaz82@gmail.com | a271613 | 2012-04-30 06:20:50 +0000 | [diff] [blame] | 1 | /* |
2 | * Test case Name : open-closed-07.aql | ||||
3 | * Description : To test non nullable field types in datasets of type open. | ||||
4 | * Success : Yes this test should Fail! | ||||
5 | * Date : 03/26/2012 | ||||
6 | */ | ||||
7 | |||||
8 | drop dataverse test if exists; | ||||
9 | |||||
10 | create dataverse test; | ||||
11 | |||||
12 | use dataverse test; | ||||
13 | |||||
14 | create type testType as open { | ||||
15 | id : int32, | ||||
16 | name : string | ||||
17 | } | ||||
18 | |||||
19 | create dataset testds(testType) partitioned by key id; | ||||
20 | |||||
21 | insert into dataset testds({"id": 123}); | ||||
22 | |||||
23 |