askalt commented on issue #19929:
URL: https://github.com/apache/datafusion/issues/19929#issuecomment-3800948454

   > I feel this is somewhat related to 
[#19894](https://github.com/apache/datafusion/issues/19894). I think we could 
avoid these sorts of issues if we accumulated filters on the `TableScan` node 
without modifying projections, etc. and only at the end of the optimizer run we 
do a single call into the `TableProvider` to sort out `Exact` filters and the 
final projection
   
   Mentioned improvements could fix the artifacts, I pushed a small fix that 
just makes the rule itself idempotent regarding a table scan. 


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