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

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

     [ https://issues.apache.org/jira/browse/HIVE-24233?focusedWorklogId=495752&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-495752 ]

ASF GitHub Bot logged work on HIVE-24233:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Oct/20 07:17
            Start Date: 06/Oct/20 07:17
    Worklog Time Spent: 10m 
      Work Description: pvargacl opened a new pull request #1555:
URL: https://github.com/apache/hive/pull/1555


   
   ### What changes were proposed in this pull request?
   Throw semanticException for except when cbo is disabled
   
   ### Why are the changes needed?
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   negative q test
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 495752)
    Remaining Estimate: 0h
            Time Spent: 10m

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