default DynamicPartitionCtx createDPContext(
          HiveConf conf, org.apache.hadoop.hive.ql.metadata.Table table, Operation writeOperation)
      throws SemanticException {
    Preconditions.checkState(supportsPartitioning(), "Should only be called for table formats where partitioning " +
        "is not handled by Hive but the table format itself. See supportsPartitioning() method.");
    return null;
  }
Creates a DynamicPartitionCtx instance that will be set up by the storage handler itself. Useful for non-native
tables where partitions are not handled by Hive, and sorting is required in a custom way before writing the table.
@param conf job conf
@param table the HMS table
@return the created DP context object, null if DP context / sorting is not required
@throws SemanticException
ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveStorageHandler.java