@Override
  public boolean execute(String sql) throws SQLException {
    checkConnection("execute");
    isClosed = false;
    try {
      return executeSQL(sql);
    } catch (TException e) {
      throw new SQLException(
          String.format(
              "Fail to reconnect to server when executing %s. please check server status", sql),
          e);
    }
  }
Execute a SQL encoded in bytes with {@link IoTDBStatement#charset}.

@param sql raw sql in bytes encoded with {@link IoTDBStatement#charset}
@return true if the first result is a {@link ResultSet} object; false if the first result is an
    update count or there is no result
@throws SQLException if a database access error occurs
iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBStatement.java