Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/21291#discussion_r187951662
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/execution/PlannerSuite.scala ---
@@ -621,6 +621,25 @@ class PlannerSuite extends SharedSQLContext {
requiredOrdering = Seq(orderingA, orderingB),
shouldHaveSort = true)
}
+
+ test("SPARK-24242: RangeExec should have correct output ordering") {
+ val df = spark.range(10).orderBy("id")
--- End diff --
I used it to check Sort elimination. Removed now.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]