@Test
  public void testOutOfBoundCols() throws SQLException {
    Statement stmt = con.createStatement();

    ResultSet res = stmt.executeQuery(
        "select * from " + tableName);

    // row 1
    assertTrue(res.next());

    try {
      res.getInt(200);
    } catch (SQLException e) {
    }

    try {
      res.getInt("zzzz");
    } catch (SQLException e) {
    }

  }
Test bad args to getXXX()
@throws SQLException
itests/hive-unit/src/test/java/org/apache/hive/jdbc/cbo_rp_TestJdbcDriver2.java