siying commented on code in PR #49784: URL: https://github.com/apache/spark/pull/49784#discussion_r1941993950
########## common/utils/src/main/resources/error/error-conditions.json: ########## @@ -4850,12 +4850,24 @@ }, "sqlState" : "42KDE" }, + "STREAMING_PYTHON_RUNNER_INITIALIZATION_COMMUNICATION_FAILURE" : { + "message" : [ + "Streaming Runner initialization failed during initial config communication. Cause: <msg>" + ], + "sqlState" : "XXKST" + }, "STREAMING_PYTHON_RUNNER_INITIALIZATION_FAILURE" : { "message" : [ "Streaming Runner initialization failed, returned <resFromPython>. Cause: <msg>" ], "sqlState" : "XXKST" }, + "STREAMING_PYTHON_RUNNER_INITIALIZATION_TIMEOUT_FAILURE" : { + "message" : [ + "Streaming Runner initialization failed. Socket connection timeout. Cause: <msg>" + ], + "sqlState" : "XXKST" Review Comment: I'm not sure about which error code to use. Perhaps ask someone who is familiar with this to review. -- 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