nuno-faria opened a new pull request, #25547:
URL: https://github.com/apache/datafusion/pull/25547

   ## Which issue does this PR close?
   
   - Closes #25545.
   
   ## Rationale for this change
   
   Pushing a `SubqueryAlias` past a `FilterExec` can make the predicate refer 
to an invalid table name. This PR simply avoids that and keeps the subquery.
   
   ## What changes are included in this PR?
   
   - Table is not aliased from a `SubqueryAlias` when there is a `FilterExec` 
below it.
   
   ## What is the testing strategy for this PR?
   
   Unit test.
   
   ## Are there any user-facing changes?
   
   No.
   


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