[
https://issues.apache.org/jira/browse/SPARK-39296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Apache Spark reassigned SPARK-39296:
------------------------------------
Assignee: (was: Apache Spark)
> 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
> Priority: Minor
>
> 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: [email protected]
For additional commands, e-mail: [email protected]