CuteChuanChuan commented on code in PR #27133:
URL: https://github.com/apache/datafusion/pull/27133#discussion_r4553619989


##########
datafusion/sqllogictest/test_files/lateral_join.slt:
##########
@@ -855,6 +855,27 @@ ORDER BY t1.id, sub.id;
 1 20 2 1
 2 30 1 1
 
+# --- Non-equality correlated filter below a DISTINCT ---
+# https://github.com/apache/datafusion/issues/25808
+# The pull up adds `t2.id` to the DISTINCT keys, so the t2 rows 10 and 20,
+# which both have t1_id = 1, are no longer merged.
+# Expected result once supported: sub.t1_id = 1 and 2 once each, for every
+# t1 row (6 rows).
+statement error OuterReferenceColumn

Review Comment:
   Added in 5eed032.



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