Yang Jie created SPARK-39296:
--------------------------------

             Summary: Replcace `Array.toString` with `Array.mkString`
                 Key: SPARK-39296
                 URL: https://issues.apache.org/jira/browse/SPARK-39296
             Project: Spark
          Issue Type: Bug
          Components: Spark Core, SQL
    Affects Versions: 3.4.0
            Reporter: Yang Jie


Some code in Spark as follows:
{code:java}
val appDirs = workDir.listFiles()
if (appDirs == null) {
  throw new IOException("ERROR: Failed to list files in " + appDirs)
} {code}
appDirs is an `Array` and `Array.toString` will print as `className#hashCode`, 
this result seems meaningless and  Array.mkString should be used.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to