~akiban-technologies/akiban-server/trunk

« back to all changes in this revision

Viewing changes to src/test/java/com/akiban/server/test/it/qp/Map_NestedLoopsIT.java

merge mmcm: Add lookahead option to AncestorLookup_Nested.

https://code.launchpad.net/~mmcm/akiban-server/ancestor-lookup-nested/+merge/176826

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
        Operator plan =
132
132
            map_NestedLoops(
133
133
                indexScan_Default(itemOidIndexRowType, false),
134
 
                ancestorLookup_Nested(coi, itemOidIndexRowType, Collections.singleton(itemRowType), 0),
 
134
                ancestorLookup_Nested(coi, itemOidIndexRowType, Collections.singleton(itemRowType), 0, 1),
135
135
                0, pipelineMap(), 1);
136
136
        RowBase[] expected = new RowBase[]{
137
137
            row(itemRowType, 1000L, 100L),
233
233
        Operator plan =
234
234
            map_NestedLoops(
235
235
                indexScan_Default(itemOidIndexRowType, false),
236
 
                ancestorLookup_Nested(coi, itemOidIndexRowType, Collections.singleton(itemRowType), 0),
 
236
                ancestorLookup_Nested(coi, itemOidIndexRowType, Collections.singleton(itemRowType), 0, 1),
237
237
                0, pipelineMap(), 1);
238
238
        CursorLifecycleTestCase testCase = new CursorLifecycleTestCase()
239
239
        {
290
290
                    cidValueRowType),
291
291
                map_NestedLoops(
292
292
                    indexScan_Default(customerCidIndexRowType, false, cidRange),
293
 
                    ancestorLookup_Nested(coi, customerCidIndexRowType, Collections.singleton(customerRowType), 0),
 
293
                    ancestorLookup_Nested(coi, customerCidIndexRowType, Collections.singleton(customerRowType), 0, 1),
294
294
                    0, pipelineMap(), 2),
295
295
                1, pipelineMap(), 1);
296
296
        RowBase[] expected = new RowBase[]{