String defaultPartitionName = conf.getVar(HiveConf.ConfVars.DEFAULTPARTITIONNAME);
List<String> partCols = extractPartColNames(tab);
boolean hasUnknownPartitions = prunePartitionNames(
partCols, prunerExpr, defaultPartitionName, partNames);
perfLogger.PerfLogEnd(LOG, PerfLogger.PRUNE_LISTING);
perfLogger.PerfLogBegin(LOG, PerfLogger.PARTITION_RETRIEVING);
if (!partNames.isEmpty()) {
partitions.addAll(Hive.get().getPartitionsByNames(tab, partNames));
}