Zoltan Haindrich created HIVE-20898:

             Summary: For time related functions arguments may not be casted to 
a non nullable type
                 Key: HIVE-20898
                 URL: https://issues.apache.org/jira/browse/HIVE-20898
             Project: Hive
          Issue Type: Bug
            Reporter: Zoltan Haindrich
            Assignee: Zoltan Haindrich

create table t (a string); insert into t values (null),('1988-11-11');
set hive.cbo.enable=true;
select 'expected 1 (second)', count(1) from t where second(a) is null;

this may only cause trouble if Calcite is exploiting the datatype nullability.

This message was sent by Atlassian JIRA

Reply via email to