/** As {@link #testLoadSorted()} but column #1 is the unique column, not
* column #0. The algorithm needs to go back and permute the values of
* column #0 after it discovers that column #1 is unique and sorts by it. */
@Test public void testLoadSorted2() {
final JavaTypeFactoryImpl typeFactory = new JavaTypeFactoryImpl();
final RelDataType rowType =
typeFactory.builder()
.add("deptno", typeFactory.createType(int.class))
.add("empid", typeFactory.createType(int.class))
.add("name", typeFactory.createType(String.class))
.build();
final Enumerable<Object[]> enumerable =
Linq4j.asEnumerable(
Arrays.asList(
new Object[]{10, 100, "Bill"},