[
https://issues.apache.org/jira/browse/SPARK-44407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yang Jie updated SPARK-44407:
-----------------------------
Description:
{code:java}
[warn]
/Users/yangjie01/SourceCode/git/spark-mine-sbt/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/JavaTypeInferenceSuite.scala:74:21:
[deprecation @ | origin= | version=2.13.7] Wrap `enum` in backticks to use it
as an identifier, it will become a keyword in Scala 3.
[warn] @BeanProperty var enum: java.time.Month = _ {code}
enum will become a keyword in Scala 3.
> Prohibit using `enum` as a variable or function name
> ----------------------------------------------------
>
> Key: SPARK-44407
> URL: https://issues.apache.org/jira/browse/SPARK-44407
> Project: Spark
> Issue Type: Improvement
> Components: Build
> Affects Versions: 3.5.0
> Reporter: Yang Jie
> Priority: Minor
>
> {code:java}
> [warn]
> /Users/yangjie01/SourceCode/git/spark-mine-sbt/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/JavaTypeInferenceSuite.scala:74:21:
> [deprecation @ | origin= | version=2.13.7] Wrap `enum` in backticks to use
> it as an identifier, it will become a keyword in Scala 3.
> [warn] @BeanProperty var enum: java.time.Month = _ {code}
> enum will become a keyword in Scala 3.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]