List<PartInfo> partInfoList = new ArrayList<PartInfo>();
if( table.getPartitionKeys().size() != 0 ) {
//Partitioned table
List<Partition> parts = client.listPartitionsByFilter(
inputInfo.getDatabaseName(), inputInfo.getTableName(),
inputInfo.getFilter(), (short) -1);
// Default to 100,000 partitions if hive.metastore.maxpartition is not defined
int maxPart = hiveConf.getInt("hcat.metastore.maxpartitions", 100000);