InputInfo inputInfo = new InputInfo(tableSchema, columnIds);
if (table.getPartitionKeysSize() == 0) {
// table without partitions
inputInfo.addPartition(InputPartition.newFromHiveTable(table));
} else {
// table with partitions, find matches to user filter.
List<Partition> partitions = null;
try {
partitions = client.get_partitions_by_filter(dbName, tableName,