HyukjinKwon commented on code in PR #39783:
URL: https://github.com/apache/spark/pull/39783#discussion_r1089869647
##########
python/pyspark/sql/connect/client.py:
##########
@@ -626,6 +627,10 @@ def _handle_error(self, rpc_error: grpc.RpcError) ->
NoReturn:
raise SparkConnectTempTableAlreadyExistsException(
info.metadata["message"],
plan=info.metadata["plan"]
) from None
+ elif reason == "java.lang.IllegalArgumentException":
Review Comment:
Can we deduplicate this w/ `convert_exception` at
`pyspark.errors.exceptions`? You can do it in a followup.
--
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]