public String toVarChar(String column) {
    switch (dbType) {
      case DERBY:
        return String.format("CAST(%s AS VARCHAR(4000))", column);
      case ORACLE:
        return String.format("to_char(%s)", column);
      default:
        return column;
    }
  }
Is the given exception a table not found exception
@param t Exception
@return
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/DatabaseProduct.java