[ https://issues.apache.org/jira/browse/SPARK-45686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SPARK-45686: ----------------------------------- Labels: pull-request-available (was: ) > Fix `method copyArrayToImmutableIndexedSeq in class LowPriorityImplicits2 is > deprecated` > ---------------------------------------------------------------------------------------- > > Key: SPARK-45686 > URL: https://issues.apache.org/jira/browse/SPARK-45686 > Project: Spark > Issue Type: Sub-task > Components: Spark Core, SQL > Affects Versions: 4.0.0 > Reporter: Yang Jie > Priority: Major > Labels: pull-request-available > > {code:java} > [error] > /Users/yangjie01/SourceCode/git/spark-mine-sbt/mllib-local/src/main/scala/org/apache/spark/ml/linalg/Vectors.scala:57:31: > method copyArrayToImmutableIndexedSeq in class LowPriorityImplicits2 is > deprecated (since 2.13.0): implicit conversions from Array to > immutable.IndexedSeq are implemented by copying; use `toIndexedSeq` > explicitly if you want to copy, or use the more efficient non-copying > ArraySeq.unsafeWrapArray > [error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part > of the message>, cat=deprecation, > site=org.apache.spark.ml.linalg.Vector.equals, > origin=scala.LowPriorityImplicits2.copyArrayToImmutableIndexedSeq, > version=2.13.0 > [error] Vectors.equals(s1.indices, s1.values, s2.indices, > s2.values) > [error] ^ > [error] > /Users/yangjie01/SourceCode/git/spark-mine-sbt/mllib-local/src/main/scala/org/apache/spark/ml/linalg/Vectors.scala:57:54: > method copyArrayToImmutableIndexedSeq in class LowPriorityImplicits2 is > deprecated (since 2.13.0): implicit conversions from Array to > immutable.IndexedSeq are implemented by copying; use `toIndexedSeq` > explicitly if you want to copy, or use the more efficient non-copying > ArraySeq.unsafeWrapArray > [error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part > of the message>, cat=deprecation, > site=org.apache.spark.ml.linalg.Vector.equals, > origin=scala.LowPriorityImplicits2.copyArrayToImmutableIndexedSeq, > version=2.13.0 > [error] Vectors.equals(s1.indices, s1.values, s2.indices, > s2.values) > [error] ^ > [error] > /Users/yangjie01/SourceCode/git/spark-mine-sbt/mllib-local/src/main/scala/org/apache/spark/ml/linalg/Vectors.scala:59:31: > method copyArrayToImmutableIndexedSeq in class LowPriorityImplicits2 is > deprecated (since 2.13.0): implicit conversions from Array to > immutable.IndexedSeq are implemented by copying; use `toIndexedSeq` > explicitly if you want to copy, or use the more efficient non-copying > ArraySeq.unsafeWrapArray > [error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part > of the message>, cat=deprecation, > site=org.apache.spark.ml.linalg.Vector.equals, > origin=scala.LowPriorityImplicits2.copyArrayToImmutableIndexedSeq, > version=2.13.0 > [error] Vectors.equals(s1.indices, s1.values, 0 until d1.size, > d1.values) > [error] ^ > [error] > /Users/yangjie01/SourceCode/git/spark-mine-sbt/mllib-local/src/main/scala/org/apache/spark/ml/linalg/Vectors.scala:61:59: > method copyArrayToImmutableIndexedSeq in class LowPriorityImplicits2 is > deprecated (since 2.13.0): implicit conversions from Array to > immutable.IndexedSeq are implemented by copying; use `toIndexedSeq` > explicitly if you want to copy, or use the more efficient non-copying > ArraySeq.unsafeWrapArray > [error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part > of the message>, cat=deprecation, > site=org.apache.spark.ml.linalg.Vector.equals, > origin=scala.LowPriorityImplicits2.copyArrayToImmutableIndexedSeq, > version=2.13.0 > [error] Vectors.equals(0 until d1.size, d1.values, s1.indices, > s1.values) > [error] {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