rokadepiyush49-rgb commented on issue #5407:
URL: https://github.com/apache/datafusion/issues/5407#issuecomment-7112663887
Is this still wanted after the optimizer changes since 2023? Before writing
any code I'd like to check whether `SubqueryAlias` still blocks projection
pushdown today, and post a couple of EXPLAIN examples where it does.
```mermaid
flowchart LR
A[Projection] --> SA[SubqueryAlias t]
SA --> S[Scan]
SA -. idea .-> P[aliasing Projection that re-qualifies columns]
P --> O[projection rules can run through]
```
If it still matters, I'd follow the approach from the earlier discussion: a
rule that swaps `SubqueryAlias` for an aliasing projection, with .slt plan
tests.
--
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]