westonpace commented on issue #33683:
URL: https://github.com/apache/arrow/issues/33683#issuecomment-1613181982

   Sorry for the slow response.  For (2) I think you will want to do something 
similar to `SimplifyWithGuarantee`: 
https://github.com/apache/arrow/blob/9736dde84bb2e6996d1d12f6a044c33398e3c3a3/cpp/src/arrow/compute/expression.cc#L1332
   
   I don't think you can use `SimplifyWithGuarantee` directly because the bloom 
filter is a weird sort of guarantee.  So I think you will need a new method.  
Specifically for (2) I think you want to:
   
    * Replace the `is_in`/`eq` in the AST with `literal(false)`.
    * Run `Canonicalize`
    * Run `FoldConstants`
   


-- 
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-unsubscr...@arrow.apache.org

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

Reply via email to