[ https://issues.apache.org/jira/browse/HIVE-24233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HIVE-24233: ---------------------------------- Labels: pull-request-available (was: ) > 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 > Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > 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)