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

    https://github.com/apache/spark/pull/16467#discussion_r97667507
  
    --- Diff: 
sql/core/src/test/resources/sql-tests/results/subquery/in-subquery/not-in-multiple-columns.sql.out
 ---
    @@ -0,0 +1,59 @@
    +-- Automatically generated by SQLQueryTestSuite
    +-- Number of queries: 5
    +
    +
    +-- !query 0
    +create temporary view t1 as select * from values
    +  (1, 1), (2, 1), (null, 1),
    +  (1, 3), (null, 3),
    +  (1, null), (null, 2)
    +as t1(a1, b1)
    +-- !query 0 schema
    +struct<>
    +-- !query 0 output
    +
    +
    +
    +-- !query 1
    +create temporary view t2 as select * from values
    +  (1, 1),
    +  (null, 3),
    +  (1, null)
    +as t2(a2, b2)
    +-- !query 1 schema
    +struct<>
    +-- !query 1 output
    +
    +
    +
    +-- !query 2
    +select a1,b1
    +from   t1
    +where  (a1,b1) not in (select a2,b2
    +                       from   t2)
    +-- !query 2 schema
    +struct<a1:int,b1:int>
    +-- !query 2 output
    +2  1
    +
    --- End diff --
    
    Ok yeah you are right. I was confusing this with the or rules.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to