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