[ https://issues.apache.org/jira/browse/SPARK-27683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16838582#comment-16838582 ]
Sean Owen commented on SPARK-27683: ----------------------------------- Yeah if it comes to defining two source trees we can do that; was just trying to avoid it. I think defining a type alias or using compat all involves two source trees in some way. Oh, 2.13 aliased TraversableOnce to IterableOnce? well, then that would do it for us I guess. If the alternative is for us to change the signature to accept {{T => Iterator[U]}}, then I wouldn't do that, and would just let TraversableOnce use the alias in 2.13. > Remove usage of TraversableOnce > ------------------------------- > > Key: SPARK-27683 > URL: https://issues.apache.org/jira/browse/SPARK-27683 > Project: Spark > Issue Type: Sub-task > Components: ML, Spark Core, SQL, Structured Streaming > Affects Versions: 3.0.0 > Reporter: Sean Owen > Assignee: Sean Owen > Priority: Major > > As with {{Traversable}}, {{TraversableOnce}} is going away in Scala 2.13. We > should use {{IterableOnce}} instead. This one is a bigger change as there are > more API methods with the existing signature. -- 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