I think we can support rewrite `abs(i) = 1` to `i = 1 or i = -1`🤔 further. _Originally posted by @Ted-Jiang in https://github.com/apache/arrow-datafusion/pull/4387#discussion_r1032896021_