HyukjinKwon commented on a change in pull request #34794:
URL: https://github.com/apache/spark/pull/34794#discussion_r761802277
##########
File path: core/src/main/scala/org/apache/spark/rdd/RDD.scala
##########
@@ -152,7 +153,7 @@ abstract class RDD[T: ClassTag](
/** Assign a name to this RDD */
def setName(_name: String): this.type = {
- name = _name
+ name = StringUtils.abbreviate(_name, conf.get(MAX_RDD_NAME_LENGTH))
Review comment:
Hm .. shouldn't we just abbreviate in UI instead of abbreviate the name
itself?
--
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]