We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb1852d commit 6278846Copy full SHA for 6278846
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/rows.scala
@@ -200,6 +200,7 @@ class RowOrdering(ordering: Seq[SortOrder]) extends Ordering[Row] {
200
n.ordering.asInstanceOf[Ordering[Any]].compare(left, right)
201
case n: NativeType if order.direction == Descending =>
202
n.ordering.asInstanceOf[Ordering[Any]].reverse.compare(left, right)
203
+ case other => sys.error(s"Type $other does not support ordered operations")
204
}
205
if (comparison != 0) return comparison
206
0 commit comments