@Test
  public void testMetaDataGetTablesClassic() throws SQLException {
    Statement stmt = con.createStatement();
    stmt.execute("set " + HiveConf.ConfVars.HIVE_SERVER2_TABLE_TYPE_MAPPING.varname + " = "
        + TableTypeMappings.CLASSIC.toString());
    stmt.close();
    getTablesTest(ImmutableSet.of(ClassicTableTypes.TABLE.toString()),
        ClassicTableTypes.VIEW.toString());
  }
Execute "set x" and extract value from key=val format result
Verify the extracted value
@param key
@param expectedVal
@throws Exception
itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java