@Test
  /**
   * Tests setting a custom fetch size for the RPC call
   * @throws SQLException
   */
  public void testURLWithFetchSize() throws SQLException {
    Connection con = getConnection(testDbName + ";fetchSize=1234", "");
    Statement stmt = con.createStatement();
    assertEquals(stmt.getFetchSize(), 1234);
    stmt.close();
    con.close();
  }
Tests malformed JDBC URL
@throws Exception
itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java