[ https://issues.apache.org/jira/browse/SPARK-39296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-39296. ---------------------------------- Fix Version/s: 3.4.0 Resolution: Fixed Issue resolved by pull request 36677 [https://github.com/apache/spark/pull/36677] > 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 > Assignee: Yang Jie > Priority: Minor > Fix For: 3.4.0 > > > 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