public List<String> getQueryLog() throws SQLException, ClosedOrCancelledStatementException {
    return getQueryLog(true, fetchSize);
  }
Get the execution logs of the given SQL statement.
This method is a public API for usage outside of Hive, although it is not part of the
interface java.sql.Statement.
This method gets the incremental logs during SQL execution, and uses fetchSize holden by
HiveStatement object.
@return a list of logs. It can be empty if there are no new logs to be retrieved at that time.
@throws SQLException
@throws ClosedOrCancelledStatementException if statement has been cancelled or closed
jdbc/src/java/org/apache/hive/jdbc/HiveStatement.java