Skip to content

Commit

Permalink
[SPARK-25150][SQL] Fix review findings 4
Browse files Browse the repository at this point in the history
Change-Id: I928e9a56410c00c4fbbd11c8e91b7993a4bc1878
  • Loading branch information
peter-toth committed Sep 5, 2018
1 parent d56f33c commit 809b8a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,6 @@ class Analyzer(
* a logical plan node's children.
*/
object ResolveReferences extends Rule[LogicalPlan] {

/**
* Generate a new logical plan for the right child with different expression IDs
* for all conflicting attributes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ package org.apache.spark.sql.catalyst.expressions
* of the name, or the expected nullability).
*/
object AttributeMap {
var empty = new AttributeMap(Map.empty)
val empty = new AttributeMap(Map.empty)

def apply[A](kvs: Seq[(Attribute, A)]): AttributeMap[A] = {
new AttributeMap(kvs.map(kv => (kv._1.exprId, kv)).toMap)
Expand Down

0 comments on commit 809b8a8

Please sign in to comment.