Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14661#discussion_r76141512
  
    --- Diff: sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala 
---
    @@ -2586,6 +2586,63 @@ class SQLQuerySuite extends QueryTest with 
SharedSQLContext {
           Row(s"$expected") :: Nil)
       }
     
    +  test("SPARK-16991: Full outer join followed by inner join produces wrong 
results") {
    +    val a = Seq((1, 2), (2, 3)).toDF("a", "b")
    +    val b = Seq((2, 5), (3, 4)).toDF("a", "c")
    +    val c = Seq((3, 1)).toDF("a", "d")
    +    val ab = a.join(b, Seq("a"), "fullouter")
    +    checkAnswer(ab.join(c, "a"), Row(3, null, 4, 1) :: Nil)
    +  }
    +
    +  test("SPARK-17099: Incorrect result when HAVING clause is added to group 
by query") {
    --- End diff --
    
    move these over to SQLQueryTestSuite?



---
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]

Reply via email to