HyukjinKwon commented on code in PR #39695: URL: https://github.com/apache/spark/pull/39695#discussion_r1090530421
########## python/pyspark/sql/connect/client.py: ########## @@ -636,6 +678,139 @@ def _handle_error(self, rpc_error: grpc.RpcError) -> NoReturn: raise SparkConnectGrpcException(str(rpc_error)) from None +class RetryState: + """ + Simple state helper that captures the state between retries of the exceptions. It + keeps track of the last exception thrown and how many in total. when the task Review Comment: ```suggestion keeps track of the last exception thrown and how many in total. When the task ``` -- 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