public static WriterOptions writerOptions(Properties tableProperties,
                                            Configuration conf) {
    return new WriterOptions(tableProperties, conf);
  }
Create a set of write options based on a set of table properties and
configuration.
@param tableProperties the properties of the table
@param conf the configuration of the query
@return a WriterOptions object that can be modified
ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcFile.java