[ https://issues.apache.org/jira/browse/SPARK-45602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Jie resolved SPARK-45602. ------------------------------ Fix Version/s: 4.0.0 Resolution: Fixed Issue resolved by pull request 43445 [https://github.com/apache/spark/pull/43445] > Replace `s.c.MapOps.filterKeys` with `s.c.MapOps.view.filterKeys` > ----------------------------------------------------------------- > > Key: SPARK-45602 > URL: https://issues.apache.org/jira/browse/SPARK-45602 > Project: Spark > Issue Type: Sub-task > Components: Kubernetes, Spark Core, SQL, YARN > Affects Versions: 4.0.0 > Reporter: Yang Jie > Assignee: Yang Jie > Priority: Major > Labels: pull-request-available > Fix For: 4.0.0 > > > {code:java} > /** Filters this map by retaining only keys satisfying a predicate. > * @param p the predicate used to test keys > * @return an immutable map consisting only of those key value pairs of > this map where the key satisfies > * the predicate `p`. The resulting map wraps the original map > without copying any elements. > */ > @deprecated("Use .view.filterKeys(f). A future version will include a strict > version of this method (for now, .view.filterKeys(p).toMap).", "2.13.0") > def filterKeys(p: K => Boolean): MapView[K, V] = new MapView.FilterKeys(this, > p) {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