System.out.println("********** Column Groups **********");
for (int i = 0; i < cgschemas.length; i++) {
System.out.println(cgschemas[i]);
System.out.println("--------------------------------");
}
CGSchema cgs1 = cgschemas[0];
CGSchema cgs2 = cgschemas[1];
CGSchema cgs3 = cgschemas[2];
ColumnSchema f11 = cgs1.getSchema().getColumn(0);
Assert.assertEquals(f11.getName(), "m1");
Assert.assertEquals(ColumnType.MAP, f11.getType());
ColumnSchema f21 = cgs2.getSchema().getColumn(0);
Assert.assertEquals(f21.getName(), "m2");
// TODO: type should be MAP!
Assert.assertEquals(ColumnType.MAP, f21.getType());
ColumnSchema f22 = cgs2.getSchema().getColumn(1);
Assert.assertEquals(f22.getName(), "f3");
Assert.assertEquals(ColumnType.INT, f22.getType());
ColumnSchema f31 = cgs3.getSchema().getColumn(0);
Assert.assertEquals(f31.getName(), "m1");
Assert.assertEquals(ColumnType.MAP, f31.getType());
ColumnSchema f32 = cgs3.getSchema().getColumn(1);
Assert.assertEquals(f32.getName(), "m2");
Assert.assertEquals(ColumnType.MAP, f32.getType());
System.out.println("*********** Column Map **********");
Map<String, HashSet<Partition.PartitionInfo.ColumnMappingEntry>> colmap = p