Vladimir Sitnikov created CALCITE-2505:
------------------------------------------

             Summary: RexSimplify: isFalse(isNotDistinctFrom(vBool(0), 
vBool(1))) causes AssertionError: wrong operand count 1 for IS DISTINCT FROM
                 Key: CALCITE-2505
                 URL: https://issues.apache.org/jira/browse/CALCITE-2505
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.17.0
            Reporter: Vladimir Sitnikov
            Assignee: Julian Hyde


{noformat}java.lang.AssertionError: wrong operand count 1 for IS DISTINCT FROM

        at org.apache.calcite.util.Litmus$1.fail(Litmus.java:31)
        at 
org.apache.calcite.sql.SqlBinaryOperator.validRexOperands(SqlBinaryOperator.java:219)
        at org.apache.calcite.rex.RexCall.<init>(RexCall.java:63)
        at org.apache.calcite.rex.RexBuilder.makeCall(RexBuilder.java:242)
        at org.apache.calcite.rex.RexSimplify.simplifyNot(RexSimplify.java:373)
        at org.apache.calcite.rex.RexSimplify.simplify_(RexSimplify.java:185)
        at org.apache.calcite.rex.RexSimplify.simplifyIs2(RexSimplify.java:468)
        at org.apache.calcite.rex.RexSimplify.simplifyIs(RexSimplify.java:414)
        at org.apache.calcite.rex.RexSimplify.simplify_(RexSimplify.java:202)
        at 
org.apache.calcite.rex.RexSimplify.lambda$simplify$0(RexSimplify.java:175)
        at org.apache.calcite.rex.RexSimplify.verify(RexSimplify.java:1121)
        at 
org.apache.calcite.rex.RexSimplify.simplify(RexSimplify.java:175){noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to