HeartSaVioR commented on a change in pull request #31464:
URL: https://github.com/apache/spark/pull/31464#discussion_r569904841
##########
File path: core/src/main/scala/org/apache/spark/util/Utils.scala
##########
@@ -2989,6 +2989,9 @@ private[spark] object Utils extends Logging {
metadata.append(paths(index).toString)
index += 1
}
+ if (paths.length > index) {
+ metadata.append(s", ... ${paths.length - index} more")
Review comment:
Ah OK. That looks to be a tricky one now...
Would we like to apply strict length limit on the metadata location string,
so that StringUtils.abbreviate won't touch the abbreviated form of output?
It's a bit odd we try to abbreviate but apply soft limit & add some information
to the abbreviated form which leads to exceed the limit, and abbreviate again
to break the abbreviated form.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]