blob: 24423e8b4600f0df6091d1232f84ccdb2b02f90d [file] [log] [blame]
/*
* 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});