@Unstable
  public CustomBucketFunction getBucketFunction() {
    return bucketFunction;
  }
Returns the bucket function for Partition-Aware Optimization.
ql/src/java/org/apache/hadoop/hive/ql/plan/PartitionAwareOptimizationCtx.java