You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Peter Varga (Jira)" <ji...@apache.org> on 2020/10/06 06:37:00 UTC

[jira] [Assigned] (HIVE-24233) except subquery throws nullpointer with cbo disabled

     [ https://issues.apache.org/jira/browse/HIVE-24233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Varga reassigned HIVE-24233:
----------------------------------


> 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
>
> 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)