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

Apache Spark commented on SPARK-3953:
-------------------------------------

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

> Confusable variable name.
> -------------------------
>
>                 Key: SPARK-3953
>                 URL: https://issues.apache.org/jira/browse/SPARK-3953
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.2.0
>            Reporter: Kousuke Saruta
>            Priority: Minor
>
> In SqlParser.scala, there is following code.
> {code}
> case d ~ p ~ r ~ f ~ g ~ h ~ o ~ l  =>
>   val base = r.getOrElse(NoRelation)
>   val withFilter = f.map(f => Filter(f, base)).getOrElse(base)
> {code}
> in the code above, there 2 variables which has same name "f" in near place. 
> One is receiver "f" and other is bound variable "f".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to