private void pruneDP(FileSinkDesc fsdesc) {
      // FIXME: Support pruning dynamic partitioning.
      LOG.info("DP can be rewritten to SP!");
    }
The Node Processor for constant propagation for FileSink Operators. In addition to constant
propagation, this processor also prunes dynamic partitions to static partitions if possible.
ql/src/java/org/apache/hadoop/hive/ql/optimizer/ConstantPropagateProcFactory.java