yaooqinn commented on code in PR #44944:
URL: https://github.com/apache/spark/pull/44944#discussion_r1470637064
##########
core/src/main/resources/org/apache/spark/ui/static/utils.js:
##########
@@ -272,3 +272,16 @@ function errorMessageCell(errorMessage) {
const details = detailsUINode(isMultiline, errorMessage);
return summary + details;
}
+
+function stringAbbreviate(content, limit) {
+ if (content && content.length > limit) {
+ const summary = content.substring(0, limit) + '...';
+ // TODO: Reused stacktrace-details* style for convenience, but it's not
really a stacktrace
Review Comment:
Thank you, @dongjoon-hyun. I have considered this. I didn't do that because
the possibility is low; a TODO is just a warning in case.
--
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]