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/27 02:32:00 UTC
[jira] [Created] (SPARK-45691) Clean up the deprecated API usage related to `RightProjection/LeftProjection/Either`
Yang Jie created SPARK-45691:
--------------------------------
Summary: 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
* 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