docs: public static Session toSession(ConnectorTransactionHandle transactionHandle, ConnectorSession session)
      {
          TransactionId transactionId = ((GlobalSystemTransactionHandle) transactionHandle).getTransactionId();
          ConnectorIdentity connectorIdentity = session.getIdentity();
          Identity identity = new Identity(connectorIdentity.getUser(), connectorIdentity.getPrincipal());
          return Session.builder(new SessionPropertyManager(SYSTEM_SESSION_PROPERTIES))
                  .setQueryId(new QueryId(session.getQueryId()))
                  .setTransactionId(transactionId)
                  .setCatalog("catalog")
                  .setSchema("schema")
                  .setPath(new SqlPath(Optional.of("path")))
                  .setIdentity(identity)
                  .setTimeZoneKey(session.getTimeZoneKey())
                  .setLocale(session.getLocale())
                  .setStartTime(session.getStartTime())
                  .build();
      }