public static boolean isListBucketingPart(Partition part) {
    return (part.getSkewedColNames() != null) && (part.getSkewedColNames().size() > 0)
        && (part.getSkewedColValues() != null) && (part.getSkewedColValues().size() > 0)
        && (part.getSkewedColValueLocationMaps() != null)
        && (part.getSkewedColValueLocationMaps().size() > 0);
  }
check if the partition is list bucketing

@param part
@return
ql/src/java/org/apache/hadoop/hive/ql/optimizer/listbucketingpruner/ListBucketingPrunerUtils.java