Soumyakanti Das created HIVE-28314:
--------------------------------------

             Summary: Support literals as filter expression with non-boolean 
return type
                 Key: HIVE-28314
                 URL: https://issues.apache.org/jira/browse/HIVE-28314
             Project: Hive
          Issue Type: Sub-task
          Components: CBO
            Reporter: Soumyakanti Das
            Assignee: Soumyakanti Das


h3. Filter expression with non-boolean return type

fname=annotate_stats_filter.q
{code:sql}
explain select * from loc_orc where 'foo' 
{code}
{noformat}
org.apache.hadoop.hive.ql.optimizer.calcite.CalciteSemanticException: Filter 
expression with non-boolean return type.
{noformat}



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

Reply via email to