public FileSinkDesc getAndUnsetWriter() {
    FileSinkDesc fsd = writer;
    writer = null;
    return fsd;
  }
@param tblProps
         the table properties to set
ql/src/java/org/apache/hadoop/hive/ql/ddl/DDLDescWithTableProperties.java