public void testReorderdCols() throws IOException,InterruptedException{
BytesRefArrayWritable[] bytesArr = initTestEnvironment();
RCFileInputDriver sd = new RCFileInputDriver();
JobContext jc = new JobContext(conf, new JobID());
sd.setInputPath(jc, file.toString());
InputFormat<?,?> iF = sd.getInputFormat(null);
InputSplit split = iF.getSplits(jc).get(0);
sd.setOriginalSchema(jc, buildHiveSchema());
sd.setOutputSchema(jc, buildReorderedSchema());
sd.initialize(jc, getProps());
Map<String,String> map = new HashMap<String,String>(1);
map.put("part1", "first-part");
sd.setPartitionValues(jc, map);
conf.set(ColumnProjectionUtils.READ_COLUMN_IDS_CONF_STR,jc.getConfiguration().get(ColumnProjectionUtils.READ_COLUMN_IDS_CONF_STR));
TaskAttemptContext tac = new TaskAttemptContext(conf, new TaskAttemptID());
RecordReader<?,?> rr = iF.createRecordReader(split,tac);
rr.initialize(split, tac);
HCatRecord[] tuples = getReorderedCols();
for(int j=0; j < 2; j++){