MaxGekk commented on code in PR #48196:
URL: https://github.com/apache/spark/pull/48196#discussion_r1793920552
##########
common/utils/src/main/java/org/apache/spark/SparkThrowable.java:
##########
@@ -35,19 +35,29 @@
*/
@Evolving
public interface SparkThrowable {
- // Succinct, human-readable, unique, and consistent representation of the
error category
- // If null, error class is not set
- String getErrorClass();
+ /**
+ * Succinct, human-readable, unique, and consistent representation of the
error condition.
+ * If null, error condition is not set.
+ */
+ String getCondition();
Review Comment:
BTW, the SQL standard just uses the word `condition`:
<img width="920" alt="Screenshot 2024-10-09 at 19 38 51"
src="https://github.com/user-attachments/assets/bd17ce98-3f99-4419-a3aa-927cf162d696">
--
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]