You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/10/17 19:59:11 UTC

[GitHub] [arrow-datafusion] andygrove commented on pull request #3841: Tweak list of optimization rules

andygrove commented on PR #3841:
URL: https://github.com/apache/arrow-datafusion/pull/3841#issuecomment-1281406786

   I've just started reviewing this PR and noticed one difference in one of the queries I tested with that might not be optimal.
    
   ## before
   
   Table scan filter: `CAST(col1 AS Int64) BETWEEN Int64(4) AND Int64(4) + Int64(3)`
   
   ## after
   
   Table scan filter: `CAST(col1 AS Int64) >= Int64(4), CAST(col1 AS Int64) <= Int64(7)`
   
   It looks like we are now performing the CAST twice.
   
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org