Skip to content

Commit

Permalink
Update rows.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
pzzs committed Mar 10, 2015
1 parent cb1852d commit 6278846
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ class RowOrdering(ordering: Seq[SortOrder]) extends Ordering[Row] {
n.ordering.asInstanceOf[Ordering[Any]].compare(left, right)
case n: NativeType if order.direction == Descending =>
n.ordering.asInstanceOf[Ordering[Any]].reverse.compare(left, right)
case other => sys.error(s"Type $other does not support ordered operations")
}
if (comparison != 0) return comparison
}
Expand Down

0 comments on commit 6278846

Please sign in to comment.