juliuszsompolski commented on code in PR #43965:
URL: https://github.com/apache/spark/pull/43965#discussion_r1403368479
##########
python/pyspark/sql/connect/client/core.py:
##########
@@ -1614,7 +1620,10 @@ def _verify_response_integrity(
f"{response.session_id} != {self._session_id}"
)
if self._server_session_id is not None:
- if response.server_side_session_id != self._server_session_id:
+ if (
+ response.server_side_session_id
+ and response.server_side_session_id != self._server_session_id
+ ):
Review Comment:
I checked that scala was doing this check
https://github.com/apache/spark/pull/43664/files#diff-bca41eacf4b96906693f0631af75db7b4c40e4d8ff21d081d038cba04dcd2809R43.
I caught this during review in
https://github.com/apache/spark/pull/43664#discussion_r1384861491, but didn't
catch the same in the python side.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]