try {
String projection = getProjection(conf);
List<LeafTableInfo> leaves = expr.getLeafTables(projection);
Iterator<LeafTableInfo> iterator = leaves.iterator();
while (iterator.hasNext()) {
LeafTableInfo leaf = iterator.next();
BasicTable.Reader reader =
new BasicTable.Reader(leaf.getPath(), conf);
reader.setProjection(projection);
reader.close();
}
} catch (ParseException e) {
throw new IOException("Projection parsing failed : "+e.getMessage());