@Test
public void testBug1018206()
{
IndexBound cnameBound = new IndexBound(row(customerNameItemOidIndexRowType, "nea"), new SetColumnSelector(0));
IndexKeyRange cnameRange = IndexKeyRange.bounded(customerNameItemOidIndexRowType, cnameBound, true, cnameBound, true);
IndexScanSelector indexScanSelector = IndexScanSelector.leftJoinAfter(customerNameItemOidIndexRowType.index(),
customerRowType.table());
Operator flatten =
flatten_HKeyOrdered(
ancestorLookup_Default(
indexScan_Default(customerNameItemOidIndexRowType, cnameRange, ordering(), indexScanSelector),