Skip to content

Commit

Permalink
don't throw an error when a select clause outputs multiple copies of …
Browse files Browse the repository at this point in the history
…the same attribute.
  • Loading branch information
marmbrus committed Jan 11, 2014
1 parent 0e975ea commit c5842d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/catalyst/plans/logical/LogicalPlan.scala
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ abstract class LogicalPlan extends QueryPlan[LogicalPlan] {
option.name == remainingParts.head
}

options match {
options.distinct match {
case a :: Nil => Some(a) // One match, use it.
case Nil => None // No matches.
case ambiguousReferences =>
Expand Down

0 comments on commit c5842d2

Please sign in to comment.