Prevent RexSimplify from simplifying operators to SEARCH

2022-02-08 Thread Chathura
Hello all, Can we configure RexSimplify to exclude certain operators such as SEARCH? The requirement to prevent the builtin rules and custom rules from converting "t1.age>=1 AND t1.age<5" to AND(<=($0, 1), >($0, 5)) and then convert it to SEARCH during the RexSimplify#simplifyXX call. Regard

Re: Prevent RexSimplify from simplifying operators to SEARCH

2022-02-08 Thread Julian Hyde
It is not possible today, but it is a reasonable feature request. One caveat. If conversion to SEARCH is disabled then many simplifications will not occur. Julian > On Feb 8, 2022, at 12:38 AM, Chathura wrote: > > Hello all, > > Can we configure RexSimplify to exclude certain operators such