[
https://issues.apache.org/jira/browse/SPARK-45695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yang Jie resolved SPARK-45695.
------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 43637
[https://github.com/apache/spark/pull/43637]
> Fix `method force in trait View is deprecated`
> ----------------------------------------------
>
> Key: SPARK-45695
> URL: https://issues.apache.org/jira/browse/SPARK-45695
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 4.0.0
> Reporter: Yang Jie
> Assignee: Tengfei Huang
> Priority: Minor
> Fix For: 4.0.0
>
>
> {code:java}
> [warn]
> /Users/yangjie01/SourceCode/git/spark-mine-sbt/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/trees/TreeNode.scala:368:36:
> method force in trait View is deprecated (since 2.13.0): Views no longer
> know about their underlying collection type; .force always returns an
> IndexedSeq
> [warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of the
> message>, cat=deprecation,
> site=org.apache.spark.sql.catalyst.trees.TreeNode.legacyWithNewChildren.newArgs.$anonfun,
> origin=scala.collection.View.force, version=2.13.
> [warn] m.mapValues(mapChild).view.force.toMap
> [warn] ^ {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]