public Path getParentDir() {
    return dirName.getParent();
  }
Set the stats aggregation key. If the input string is not terminated by Path.SEPARATOR
aggregation key will add one to make it as a directory name.
@param k input directory name.
ql/src/java/org/apache/hadoop/hive/ql/plan/FileSinkDesc.java