You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jiaan Geng (Jira)" <ji...@apache.org> on 2023/10/14 03:25:00 UTC

[jira] [Resolved] (SPARK-45513) Replace `scala.runtime.Tuple2Zipped` to `scala.collection.LazyZip2`

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

Jiaan Geng resolved SPARK-45513.
--------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 43351
[https://github.com/apache/spark/pull/43351]

> Replace `scala.runtime.Tuple2Zipped` to `scala.collection.LazyZip2`
> -------------------------------------------------------------------
>
>                 Key: SPARK-45513
>                 URL: https://issues.apache.org/jira/browse/SPARK-45513
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Connect, MLlib, Spark Core, SQL
>    Affects Versions: 4.0.0
>            Reporter: Jiaan Geng
>            Assignee: Jiaan Geng
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> {code:java}
> @scala.deprecated(message = "Use scala.collection.LazyZip2.", since = "2.13.0")
> final class Tuple2Zipped[El1, It1 <: scala.Iterable[El1], El2, It2 <: scala.Iterable[El2]](colls : scala.Tuple2[It1, It2]) extends scala.AnyVal with scala.runtime.ZippedIterable2[El1, El2] {
> @scala.deprecated(message = "Use scala.collection.LazyZip2.", since = "2.13.0")
> object Tuple2Zipped extends scala.AnyRef {
>   final class Ops[T1, T2](x : scala.Tuple2[T1, T2]) extends scala.AnyVal {
>     @scala.deprecated(message = "Use xs.lazyZip(yz).map((_, _))", since = "2.13.0")
>     def invert[El1, It1[a] <: scala.Iterable[a], El2, It2[a] <: scala.Iterable[a], That](implicit w1 : scala.<:<[T1, It1[El1]], w2 : scala.<:<[T2, It2[El2]], bf : scala.collection.BuildFrom[T1, scala.Tuple2[El1, El2], That]) : That = { /* compiled code */ }
>     @scala.deprecated(message = "Use xs.lazyZip(ys)", since = "2.13.0")
>     def zipped[El1, It1 <: scala.Iterable[El1], El2, It2 <: scala.Iterable[El2]](implicit w1 : scala.Function1[T1, scala.collection.IterableOps[El1, scala.Iterable, It1] with It1], w2 : scala.Function1[T2, scala.collection.IterableOps[El2, scala.Iterable, It2] with It2]) : scala.runtime.Tuple2Zipped[El1, It1, El2, It2] = { /* compiled code */ }
>   }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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