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

    https://github.com/apache/spark/pull/1151#discussion_r14529947
  
    --- Diff: sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala 
---
    @@ -371,6 +371,19 @@ class SQLQuerySuite extends QueryTest {
             (3, null)))
       }
     
    +  test("EXCEPT") {
    +
    +    checkAnswer(
    +      sql("SELECT * FROM lowerCaseData EXCEPT SELECT * FROM upperCaseData 
"),
    +      (1, "a") ::
    +      (2, "b") ::
    +      (3, "c") ::
    +      (4, "d") :: Nil)
    +    checkAnswer(
    +      sql("SELECT * FROM lowerCaseData EXCEPT SELECT * FROM lowerCaseData 
"), Nil)
    +    checkAnswer(
    +      sql("SELECT * FROM upperCaseData EXCEPT SELECT * FROM upperCaseData 
"), Nil)
    +  }
       test("SET commands semantics using sql()") {
    --- End diff --
    
    Add a newline before this line.


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

Reply via email to