diff options
author | Kousuke Saruta <sarutak@oss.nttdata.co.jp> | 2014-10-26 16:28:33 -0700 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2014-10-26 16:28:33 -0700 |
commit | d518bc24af54a3853fac457e03c70970354150bb (patch) | |
tree | a63b53db47e23c0e7773c7207e97d7a6d0917739 /sql/hive | |
parent | dc51f4d6d836fc2c65b0af8db1497427ad2742ec (diff) | |
download | spark-d518bc24af54a3853fac457e03c70970354150bb.tar.gz spark-d518bc24af54a3853fac457e03c70970354150bb.tar.bz2 spark-d518bc24af54a3853fac457e03c70970354150bb.zip |
[SPARK-3953][SQL][Minor] 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 are 2 variables which have same name "f" in near place.
One is receiver "f" and other is bound variable "f".
Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp>
Closes #2807 from sarutak/SPARK-3953 and squashes the following commits:
4957c32 [Kousuke Saruta] Improved variable name in SqlParser.scala
Diffstat (limited to 'sql/hive')
0 files changed, 0 insertions, 0 deletions