Github user cloud-fan commented on the issue:

    https://github.com/apache/spark/pull/22561
  
    Your rewrite is applied to the entire predicate expression tree, how about 
the case `NOT(p AND x)`? If `p` is true, `x` is false, then `NOT(p AND x)` is 
true. But `NOT(true AND true)` is false.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to