houqp commented on pull request #1566:
URL: 
https://github.com/apache/arrow-datafusion/pull/1566#issuecomment-1016020781


   > The only thing I can think of would be to extend FilterPushdown in a way 
that would try and push down column = column type expressions from Filter nodes 
into Join nodes?
   
   Yes, this is exactly what I have in mind. With this optimizer rule, the sql 
planner can just naively plan these types of queries as cross joins and let the 
optimizer rewrite them into inner joins whenever applicable.


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


Reply via email to