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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]