You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2023/10/31 15:53:00 UTC
[jira] [Assigned] (SPARK-45683) Fix `method any2stringadd in object Predef is deprecated`
[ https://issues.apache.org/jira/browse/SPARK-45683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun reassigned SPARK-45683:
-------------------------------------
Assignee: Yang Jie
> Fix `method any2stringadd in object Predef is deprecated`
> ---------------------------------------------------------
>
> Key: SPARK-45683
> URL: https://issues.apache.org/jira/browse/SPARK-45683
> Project: Spark
> Issue Type: Sub-task
> Components: Build, Spark Core
> Affects Versions: 4.0.0
> Reporter: Yang Jie
> Assignee: Yang Jie
> Priority: Major
> Labels: pull-request-available
>
> {code:java}
> [warn] /Users/yangjie01/SourceCode/git/spark-mine-sbt/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Expression.scala:720:17: method any2stringadd in object Predef is deprecated (since 2.13.0): Implicit injection of + is deprecated. Convert to String to call +
> [warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of the message>, cat=deprecation, site=org.apache.spark.sql.catalyst.expressions.BinaryExpression.nullSafeCodeGen.nullSafeEval, origin=scala.Predef.any2stringadd, version=2.13.0
> [warn] leftGen.code + ctx.nullSafeExec(left.nullable, leftGen.isNull) {
> [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