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

Yang Jie updated SPARK-45684:
-----------------------------
    Description: 
* method transform in trait SeqOps is deprecated (since 2.13.0)
 * method reverseMap in trait SeqOps is deprecated (since 2.13.0)
 * method retain in trait SetOps is deprecated (since 2.13.0)
 * method union in trait SeqOps is deprecated (since 2.13.0)

{code:java}
[warn] 
/Users/yangjie01/SourceCode/git/spark-mine-sbt/mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala:675:15:
 method transform in trait SeqOps is deprecated (since 2.13.0): Use 
`mapInPlace` on an `IndexedSeq` instead
[warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of the 
message>, cat=deprecation, 
site=org.apache.spark.ml.classification.LogisticRegression.train.$anonfun, 
origin=scala.collection.mutable.SeqOps.transform, version=2.13.0
[warn]       centers.transform(_ / numCoefficientSets)
[warn]               ^ {code}

  was:
* method transform in trait SeqOps is deprecated (since 2.13.0)
 * method reverseMap in trait SeqOps is deprecated (since 2.13.0)
 * method retain in trait SetOps is deprecated (since 2.13.0)
 * method - in trait SetOps is deprecated (since 2.13.0)
 * method -- in trait SetOps is deprecated (since 2.13.0)
 * method + in trait SetOps is deprecated (since 2.13.0)

{code:java}
[warn] 
/Users/yangjie01/SourceCode/git/spark-mine-sbt/mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala:675:15:
 method transform in trait SeqOps is deprecated (since 2.13.0): Use 
`mapInPlace` on an `IndexedSeq` instead
[warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of the 
message>, cat=deprecation, 
site=org.apache.spark.ml.classification.LogisticRegression.train.$anonfun, 
origin=scala.collection.mutable.SeqOps.transform, version=2.13.0
[warn]       centers.transform(_ / numCoefficientSets)
[warn]               ^ {code}


> Clean up the deprecated API usage related to `SeqOps`
> -----------------------------------------------------
>
>                 Key: SPARK-45684
>                 URL: https://issues.apache.org/jira/browse/SPARK-45684
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Build, Spark Core, SQL
>    Affects Versions: 4.0.0
>            Reporter: Yang Jie
>            Priority: Major
>
> * method transform in trait SeqOps is deprecated (since 2.13.0)
>  * method reverseMap in trait SeqOps is deprecated (since 2.13.0)
>  * method retain in trait SetOps is deprecated (since 2.13.0)
>  * method union in trait SeqOps is deprecated (since 2.13.0)
> {code:java}
> [warn] 
> /Users/yangjie01/SourceCode/git/spark-mine-sbt/mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala:675:15:
>  method transform in trait SeqOps is deprecated (since 2.13.0): Use 
> `mapInPlace` on an `IndexedSeq` instead
> [warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of the 
> message>, cat=deprecation, 
> site=org.apache.spark.ml.classification.LogisticRegression.train.$anonfun, 
> origin=scala.collection.mutable.SeqOps.transform, version=2.13.0
> [warn]       centers.transform(_ / numCoefficientSets)
> [warn]               ^ {code}



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

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

Reply via email to