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