jonmmease commented on issue #3281:
URL:
https://github.com/apache/arrow-datafusion/issues/3281#issuecomment-1229192979
Here is the optimized logical plan for the example above:
```
Projection: #renamedA
Union
Projection: #tbl_1.renamedA
Projection: #tbl.colA AS renamedA, alias=tbl_1
Filter: #renamedA IS NOT NULL
TableScan: tbl projection=[colA]
Projection: #tbl_1.renamedA
Projection: #tbl.colA AS renamedA, alias=tbl_1
Filter: #renamedA IS NOT NULL
TableScan: tbl projection=[colA],
```
It looks like the filter is pushed down too far (below the projection that
creates the `renamedA` column).
--
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]