Github user marmbrus commented on a diff in the pull request:
https://github.com/apache/spark/pull/8854#discussion_r40041167
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
---
@@ -1781,4 +1781,32 @@ class SQLQuerySuite extends QueryTest with
SharedSQLContext {
Seq(Row(1), Row(1)))
}
}
+
+ test("SortMergeJoin returns wrong results when using UnsafeRows") {
+ // This test is for the fix of
https://issues.apache.org/jira/browse/SPARK-10737.
+ // This bug will be triggered when Tungsten is enabled and there are
multiple
+ // SortMergeJoin operators executed in the same task.
+ val confs =
+ "spark.sql.planner.sortMergeJoin" -> "true" ::
--- End diff --
Could these use the objects so there will be a compile error if we ever
remove these options? (and then we can delete this test)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]