blob: 659d1ff1dc30406e11cd8d2a74250fb990b5f4fd [file] [log] [blame]
/*
* Description : BTree Index verification (usage) test
* : This test is intended to verify that the primary BTree index is NOT used
* : in the optimized query plan.
* Expected Result : Success
* Date : 13th Aug 2012
*/
// Negative test - prefix search
drop dataverse test if exists;
create dataverse test;
use dataverse test;
write output to nc1:"rttest/btree-index_btree-primary-12.adm";
create type TestType as open {
fname : string,
lname : string
}
create dataset testdst(TestType) primary key fname,lname;
for $emp in dataset('testdst')
where $emp.fname > "Allan" and $emp.lname = "Xu"
return $emp