code: public void executeStatements(String... statements) throws SQLException {
      Preconditions.checkNotNull(this.conn, "The Hive connection must be set before any queries can be run");
  
      for (String statement : statements) {
        if (isSimulate) {
          LOG.info("[SIMULATE MODE] STATEMENT NOT RUN: " + choppedStatementNoLineChange(statement));
        } else {
          LOG.info("RUNNING STATEMENT: " + choppedStatementNoLineChange(statement));
          try (Statement stmt = this.conn.createStatement()) {
            try {
              stmt.execute(statement);
            } catch (SQLException sqe) {
              LOG.error("Failed statement: " + choppedStatementNoLineChange(statement));
              throw sqe;
            }
          }
        }
      }
    }
docs: *
  Executes the given SQL statements.
  
  @param statements SQL statements to be executed.
  @throws SQLException if any issue in executing any statement.