haohuaijin commented on code in PR #24415:
URL: https://github.com/apache/datafusion/pull/24415#discussion_r3836384991


##########
datafusion/sqllogictest/test_files/joins.slt:
##########
@@ -2858,6 +2858,44 @@ NULL 1970-01-04T00:00:00 789 ghi 1970-01-04 NULL 789 qwe
 NULL NULL NULL NULL NULL 1970-01-04T00:00:00 0 qwerty
 NULL NULL NULL NULL NULL NULL 100000 abcdefg
 
+# Regression test: projection pushdown through SortMergeJoinExec must not 
reuse a
+# JoinFilter after its input columns have been projected away.
+statement ok
+set datafusion.optimizer.repartition_joins = true;
+
+query TT

Review Comment:
   added in 
[b5c7a48](https://github.com/apache/datafusion/pull/24415/commits/b5c7a4872a8e111982506c531b6f1f34ebd6b6f3)



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