/* | |
* Test case Name : open-closed-08.aql | |
* Description : To test nullable and non nullable field types in datasets of type closed. | |
* Success : Yes this test should succeed! | |
* Date : 03/26/2012 | |
*/ | |
drop dataverse test if exists; | |
create dataverse test; | |
use dataverse test; | |
create type testType as closed { | |
id : int32, | |
name : string? | |
} | |
create dataset testds(testType) partitioned by key id; | |
insert into dataset testds({"id": 123}); | |