Peter Varga created HIVE-24233:
----------------------------------

             Summary: except subquery throws nullpointer with cbo disabled
                 Key: HIVE-24233
                 URL: https://issues.apache.org/jira/browse/HIVE-24233
             Project: Hive
          Issue Type: Bug
            Reporter: Peter Varga
            Assignee: Peter Varga


Except and intersect was only implemented with Calcite in HIVE-12764. If cbo is 
disabled it would just throw a nullpointer exception. We should at least throw 
a SemanticException stating this is not supported.

Repro:
set hive.cbo.enable=false;
create table test(id int);
insert into table test values(1);
select id from test except select id from test;



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to