Description
simplify(or(vBool(), vBool())) produces exception which means RexSimplify tried to assign different values to the instances of ?0.bool0
java.lang.AssertionError: result mismatch: when applied to {?0.bool0=false, ?0.bool0=true}, OR(?0.bool0, ?0.bool0) yielded true, and ?0.bool0 yielded false at org.apache.calcite.rex.RexSimplify.verify(RexSimplify.java:1158) at org.apache.calcite.rex.RexSimplify.simplify(RexSimplify.java:175) at org.apache.calcite.test.RexProgramTest.checkSimplify2(RexProgramTest.java:149) at org.apache.calcite.test.RexProgramTest.testSimplifyAnd3DynamicParam(RexProgramTest.java:1573) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566)