hvanhovell commented on code in PR #42377:
URL: https://github.com/apache/spark/pull/42377#discussion_r1309573632
##########
connector/connect/common/src/main/protobuf/spark/connect/base.proto:
##########
@@ -778,6 +778,62 @@ message ReleaseExecuteResponse {
optional string operation_id = 2;
}
+// GetErrorInfoRequest defines criteria for retrieving cached exceptions.
+message GetErrorInfoRequest {
+
+ // (Required)
+ //
+ // The session_id specifies a spark session for a user id (which is specified
+ // by user_context.user_id).
+ // The id should be an UUID string of the format
`00112233-4455-6677-8899-aabbccddeeff`
+ string session_id = 1;
+
+ // User context
+ UserContext user_context = 2;
+
+ // (Required)
+ // Provide a list of error ids to get.
+ repeated string error_ids = 3;
+}
+
+// GetErrorInfoResponse returns list of exceptions matching the given error
ids.
+message GetErrorInfoResponse {
+
+ message StackTraceElementInfo {
+
+ // Fully qualified name of the class containing the execution point.
+ string declaring_class = 1;
+
+ // Name of the method containing the execution point.
+ string method_name = 2;
+
+ // Name of the file containing the execution point.
+ string file_name = 3;
+
+ // Line number of the source line containing the execution point.
+ int32 line_number = 4;
+ }
+
+ // ExceptionInfo represents the serialized form of an exception.
+ message ExceptionInfo {
+ // Unique identifier for this specific exception instance.
+ string error_id = 1;
+
+ // Fully qualified names of the exception class and its parental classes.
Review Comment:
Nit parental -> parent
--
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]