InputSplit[] splits = inputFormat.getSplits(jobConf, -1);
Assert.assertEquals(splits.length, 2);
for (int i = 0; i < 2; i++)
{
int count = 0;
RowTableSplit split = (RowTableSplit) splits[i];
TableRecordReader rr = (TableRecordReader) inputFormat.getRecordReader(split, jobConf, null);
Tuple t = TypesUtils.createTuple(1);
BytesWritable key = new BytesWritable();
while (rr.next(key, t)) {
int idx= (Integer) t.get(0);