blob: 52c4384ca820c9a26a49c0f425a999054780d1e8 [file] [log] [blame]
/*
* Test case Name : insert-and-scan-dataset.aql
* Description : This test is intended to test inserting into a dataset and scan it at the same time
* where we insert a materializing to prevent the possibility of deadlatch.
* Expected Result : Success
* Date : July 11 2013
*/
drop dataverse test if exists;
create dataverse test;
use dataverse test;
create type myDataType as open {
id: int32
}
create dataset myData(myDataType)
primary key id;
insert into dataset myData (
for $x in dataset myData
return {
"id": $x.id + 1
}
);