Ayush Saxena created HIVE-27070:
-----------------------------------

             Summary: Multiple is NULL check together fails in CalcitePlanner
                 Key: HIVE-27070
                 URL: https://issues.apache.org/jira/browse/HIVE-27070
             Project: Hive
          Issue Type: Bug
            Reporter: Ayush Saxena


Steps to Repro:
{noformat}
create external table ice01 (id int, name string);

select (name is null) is NULL from ice01;{noformat}
Exception:
{noformat}
Caused by: java.lang.AssertionError
        at 
org.apache.calcite.rex.RexSimplify.validateStrongPolicy(RexSimplify.java:851)
        at org.apache.calcite.rex.RexSimplify.simplifyIs2(RexSimplify.java:695)
        at org.apache.calcite.rex.RexSimplify.simplifyIs(RexSimplify.java:666)
        
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to