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/30 15:28:00 UTC

[jira] [Resolved] (SPARK-45691) Clean up the deprecated API usage related to `RightProjection/LeftProjection/Either`

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

Yang Jie resolved SPARK-45691.
------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 43576
[https://github.com/apache/spark/pull/43576]

>   Clean up the deprecated API usage related to `RightProjection/LeftProjection/Either`
> --------------------------------------------------------------------------------------
>
>                 Key: SPARK-45691
>                 URL: https://issues.apache.org/jira/browse/SPARK-45691
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core, SQL
>    Affects Versions: 4.0.0
>            Reporter: Yang Jie
>            Assignee: Yang Jie
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> * method get in class RightProjection is deprecated (since 2.13.0)
>  * method get in class LeftProjection is deprecated (since 2.13.0)
>  * method right in class Either is deprecated (since 2.13.0)
>  
> {code:java}
> [warn] /Users/yangjie01/SourceCode/git/spark-mine-sbt/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/GroupBasedRowLevelOperationScanPlanning.scala:54:28: method get in class LeftProjection is deprecated (since 2.13.0): use `Either.swap.getOrElse` instead
> [warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of the message>, cat=deprecation, site=org.apache.spark.sql.execution.datasources.v2.GroupBasedRowLevelOperationScanPlanning.apply, origin=scala.util.Either.LeftProjection.get, version=2.13.0
> [warn]         pushedFilters.left.get.mkString(", ")
> [warn]                            ^ {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