[ 
https://issues.apache.org/jira/browse/SPARK-25075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16837417#comment-16837417
 ] 

Stefan Zeiger commented on SPARK-25075:
---------------------------------------

Returning a Seq is not a problem but if you want it to be a scala.Seq it needs 
to be immutable now. Nothing changes if you always use scala.collection.Seq or 
scala.collection.immutable.Seq explicitly. This is recommended for 
cross-building.

The main problem with Seq is the interaction with varargs. They are of type 
scala.Seq so you cannot pass an existing mutable Seq to a varargs method with 
`_*` anymore.

> Build and test Spark against Scala 2.13
> ---------------------------------------
>
>                 Key: SPARK-25075
>                 URL: https://issues.apache.org/jira/browse/SPARK-25075
>             Project: Spark
>          Issue Type: Umbrella
>          Components: Build, Project Infra
>    Affects Versions: 3.0.0
>            Reporter: Guillaume Massé
>            Priority: Major
>
> This umbrella JIRA tracks the requirements for building and testing Spark 
> against the current Scala 2.13 milestone.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to