You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "BingKun Pan (Jira)" <ji...@apache.org> on 2023/10/30 03:29:00 UTC

[jira] [Commented] (SPARK-45689) Clean up the deprecated API usage related to `StringContext/StringOps`

    [ https://issues.apache.org/jira/browse/SPARK-45689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17780817#comment-17780817 ] 

BingKun Pan commented on SPARK-45689:
-------------------------------------

I work on it.

>   Clean up the deprecated API usage related to `StringContext/StringOps`
> ------------------------------------------------------------------------
>
>                 Key: SPARK-45689
>                 URL: https://issues.apache.org/jira/browse/SPARK-45689
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core, SQL
>    Affects Versions: 4.0.0
>            Reporter: 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/codegen/javaCode.scala:258:30: method treatEscapes in object StringContext is deprecated (since 2.13.0): use processEscapes
> [warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of the message>, cat=deprecation, site=org.apache.spark.sql.catalyst.expressions.codegen.Block.foldLiteralArgs, origin=scala.StringContext.treatEscapes, version=2.13.0
> [warn]     buf.append(StringContext.treatEscapes(strings.next()))
> [warn]                              ^
> [warn] /Users/yangjie01/SourceCode/git/spark-mine-sbt/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/javaCode.scala:270:32: method treatEscapes in object StringContext is deprecated (since 2.13.0): use processEscapes
> [warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of the message>, cat=deprecation, site=org.apache.spark.sql.catalyst.expressions.codegen.Block.foldLiteralArgs, origin=scala.StringContext.treatEscapes, version=2.13.0
> [warn]       buf.append(StringContext.treatEscapes(strings.next()))
> [warn]   {code}
>  
>  
>  * method checkLengths in class StringContext is deprecated (since 2.13.0)
>  * method treatEscapes in object StringContext is deprecated (since 2.13.0)
>  * method replaceAllLiterally in class StringOps is deprecated (since 2.13.2)



--
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