You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2014/10/27 00:29:33 UTC
[jira] [Resolved] (SPARK-3953) Confusable variable name.
[ https://issues.apache.org/jira/browse/SPARK-3953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Armbrust resolved SPARK-3953.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
Issue resolved by pull request 2807
[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
> Fix For: 1.2.0
>
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org