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

[jira] [Created] (SPARK-45692) Clean up the deprecated API usage related to `Iterator/Iterable/IterableOps`

Yang Jie created SPARK-45692:
--------------------------------

             Summary: Clean up the deprecated API usage related to `Iterator/Iterable/IterableOps`
                 Key: SPARK-45692
                 URL: https://issues.apache.org/jira/browse/SPARK-45692
             Project: Spark
          Issue Type: Sub-task
          Components: Spark Core, SQL
    Affects Versions: 4.0.0
            Reporter: Yang Jie


* method seq in trait Iterator is deprecated (since 2.13.0)
 * method toIterable in trait Iterable is deprecated (since 2.13.7)
 * method seq in trait Iterable is deprecated (since 2.13.0)
 * method toTraversable in trait IterableOps is deprecated (since 2.13.0)

 
{code:java}
[warn] /Users/yangjie01/SourceCode/git/spark-mine-sbt/mllib/src/test/scala/org/apache/spark/ml/feature/NormalizerSuite.scala:79:55: method seq in trait Iterable is deprecated (since 2.13.0): Iterable.seq always returns the iterable itself
[warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of the message>, cat=deprecation, site=org.apache.spark.ml.feature.NormalizerSuite, origin=scala.collection.Iterable.seq, version=2.13.0
[warn]     val dataFrame: DataFrame = data.zip(l2Normalized).seq.toDF("features", "expected") {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