You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Snoot.io (Jira)" <ji...@apache.org> on 2023/10/30 05:04:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17780836#comment-17780836 ]
Snoot.io commented on SPARK-45691:
----------------------------------
User 'LuciferYang' has created a pull request for this issue:
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
> Priority: Major
> Labels: pull-request-available
>
> * 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