blob: 0a6930b0745199a147899c0cb5ee8d30e2235d9e [file] [log] [blame]
Ildar Absalyamovc70c06a2014-11-11 16:37:04 -08001/*
2 * Description : BTree Index verification test
3 * : This test is intended to verify that the primary BTree index is used
4 * : in the optimized query plan.
5 * Expected Result : Success
6 * Date : 11th Nov 2014
7 */
8
9// Positive test - prefix search
10
11drop dataverse test if exists;
12create dataverse test;
13use dataverse test;
14
15write output to nc1:"rttest/btree-index_btree-primary-32.adm";
16
17create type TestType as open {
18 fname : string,
19 lname : string
20}
21
22create dataset testdst(TestType) primary key fname,lname;
23
24for $emp in dataset('testdst')
25where $emp.fname < "Julio" and $emp.lname = "Xu"
26return $emp