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

GridGain Integration commented on SPARK-44407:
----------------------------------------------

User 'LuciferYang' has created a pull request for this issue:
https://github.com/apache/spark/pull/41982

> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to