changgyoopark-db commented on code in PR #50091:
URL: https://github.com/apache/spark/pull/50091#discussion_r1972397157


##########
python/pyspark/sql/connect/client/reattach.py:
##########
@@ -261,14 +261,19 @@ def _call_iter(self, iter_fun: Callable) -> Any:
             return iter_fun()
         except grpc.RpcError as e:
             status = rpc_status.from_call(cast(grpc.Call, e))
-            if status is not None and (
-                "INVALID_HANDLE.OPERATION_NOT_FOUND" in status.message
-                or "INVALID_HANDLE.SESSION_NOT_FOUND" in status.message
-            ):
+            unexpected_error = [

Review Comment:
   thanks for pointing that out, nope, and just fixed.



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to