viirya commented on code in PR #10584:
URL: https://github.com/apache/datafusion/pull/10584#discussion_r1607085982


##########
datafusion/sqllogictest/test_files/join.slt:
##########
@@ -793,3 +793,19 @@ DROP TABLE companies
 
 statement ok
 DROP TABLE leads
+
+
+# LeftAnti Join with null
+statement ok
+CREATE TABLE IF NOT EXISTS test_table(c1 INT, c2 INT) AS VALUES
+(1, 1),
+(2, 2),
+(3, 3),
+(4, null),
+(null, 0);
+
+query II
+SELECT * FROM test_table t1 LEFT ANTI JOIN test_table t2 ON t1.c1 = t2.c2
+----
+4 NULL
+NULL 0

Review Comment:
   Currently LeftAnti join returns incorrect results.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to