@Override
  public void clearBatch() throws SQLException {
    throw new SQLFeatureNotSupportedException("Method not supported");
  }
Keep this state so we can know whether the query logs are being generated in HS2.
jdbc/src/java/org/apache/hive/jdbc/HiveStatement.java