[jira] [Assigned] (SPARK-39296) Replcace `Array.toString` with `Array.mkString`

2022-05-27 Thread Hyukjin Kwon (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-39296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon reassigned SPARK-39296:


Assignee: Yang Jie

> 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
>
> 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



[jira] [Assigned] (SPARK-39296) Replcace `Array.toString` with `Array.mkString`

2022-05-25 Thread Apache Spark (Jira)


 [ 
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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Assigned] (SPARK-39296) Replcace `Array.toString` with `Array.mkString`

2022-05-25 Thread Apache Spark (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-39296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-39296:


Assignee: 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
>Assignee: Apache Spark
>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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org