GitHub user sarutak opened a pull request:

    https://github.com/apache/spark/pull/2807

    [SPARK-3953][SQL] Confusable variable name.

    In SqlParser.scala, there is following 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)
    
    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".

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sarutak/spark SPARK-3953

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/2807.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2807
    
----
commit 4957c3265a2ce4b9829a24dd986a466f2fec28ed
Author: Kousuke Saruta <[email protected]>
Date:   2014-10-14T22:46:55Z

    Improved variable name in SqlParser.scala

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to