Skip to content

Commit

Permalink
split long line
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-fan committed Sep 2, 2014
1 parent de63082 commit 8420c84
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ abstract class LogicalPlan extends QueryPlan[LogicalPlan] {
case Array(s1, s2) =>
handleResult(input.collect {
case a if a.qualifiers.contains(s1) && a.name == s2 => a
case a if a.name == s1 && a.dataType.isInstanceOf[StructType] => Alias(GetField(a, s2), s2)()
case a if a.name == s1 && a.dataType.isInstanceOf[StructType] =>
Alias(GetField(a, s2), s2)()
})
case _ => None
}
Expand Down

0 comments on commit 8420c84

Please sign in to comment.