Skip to content

Commit

Permalink
[SQL]Small bug in unresolved.scala
Browse files Browse the repository at this point in the history
name should throw exception with name instead of exprId.

Author: Liquan Pei <[email protected]>

Closes apache#2758 from Ishiihara/SparkSQL-bug and squashes the following commits:

aa36a3b [Liquan Pei] small bug
  • Loading branch information
Ishiihara authored and marmbrus committed Oct 13, 2014
1 parent e6e3770 commit 9d9ca91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ case class Star(
mapFunction: Attribute => Expression = identity[Attribute])
extends Attribute with trees.LeafNode[Expression] {

override def name = throw new UnresolvedException(this, "exprId")
override def name = throw new UnresolvedException(this, "name")
override def exprId = throw new UnresolvedException(this, "exprId")
override def dataType = throw new UnresolvedException(this, "dataType")
override def nullable = throw new UnresolvedException(this, "nullable")
Expand Down

0 comments on commit 9d9ca91

Please sign in to comment.