private Long allocateTableWriteId(TableName tableName, boolean isAcid) throws SemanticException {
    return isAcid ? allocateTableWriteId(tableName, null) : null;
  }
@param totalFiles
         the totalFiles to set
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java