jackwener commented on pull request #2026:
URL: 
https://github.com/apache/arrow-datafusion/pull/2026#issuecomment-1069890702


   > In fact, I doubt if it really has gains, could you please do some 
benchmarks for the case? Thanks @jackwener
   
   Let me explain about this rule. It's a common and base optimizer rule. 
Postgresql, ,m ysql, cockroach all implement this rule.
   
   like pg:
   
   ```sql
   explain select id, firstname from scientist where id > 3 and lastname = 's';
   
   QUERY PLAN
   --
   Seq Scan on scientist (cost=0.00..17.20 rows=1 width=72)
   Filter: ((id > 3) AND ((lastname)::text = 's'::text))
   ```


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