WweiL commented on code in PR #40785:
URL: https://github.com/apache/spark/pull/40785#discussion_r1166096990


##########
connector/connect/common/src/main/protobuf/spark/connect/commands.proto:
##########
@@ -298,6 +306,16 @@ message StreamingQueryCommandResult {
     // Logical and physical plans as string
     string result = 1;
   }
+
+  message ExceptionResult {
+    // Exception as string
+    bool has_exception = 1;
+    optional string error_message = 2;

Review Comment:
   Ah thanks for pointing out. I could change it to check if it has the field 
`error_message`! When I implemented this there were more fields that's why I 
added this bool



-- 
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]

Reply via email to