[ https://issues.apache.org/jira/browse/SPARK-50579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17905753#comment-17905753 ]
Ignite TC Bot commented on SPARK-50579: --------------------------------------- User 'MaxGekk' has created a pull request for this issue: https://github.com/apache/spark/pull/49187 > Inconsistent string truncation > ------------------------------ > > Key: SPARK-50579 > URL: https://issues.apache.org/jira/browse/SPARK-50579 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 4.0.0 > Reporter: Max Gekk > Assignee: Max Gekk > Priority: Major > > Output of truncatedString is different for the same max fields: > {code:scala} > truncatedString(Seq(1, 2), "[", ", ", "]", 2) > {code} > outputs *"[1, 2]"*, but less elements for the same max fields: > {code:scala} > truncatedString(Seq(1, 2, 3), "[", ", ", "]", 2) > {code} > it outputs *"[1, ... 2 more fields]"* instead of *"[1, 2, ... 1 more > fields]"*. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org