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 2021/12/11 14:07:00 UTC

[jira] [Work logged] (HIVE-25792) Multi Insert query fails on CBO path

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

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

                Author: ASF GitHub Bot
            Created on: 11/Dec/21 14:06
            Start Date: 11/Dec/21 14:06
    Worklog Time Spent: 10m 
      Work Description: pvary opened a new pull request #2865:
URL: https://github.com/apache/hive/pull/2865


   ### What changes were proposed in this pull request?
   Add a full compile retry when there is a CBO issue
   
   ### Why are the changes needed?
   We seen multiple places when we were unable to correctly recreate the AST after a failed CBO. We needed to find a less brittle solution
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   Added unit tests.


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

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

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


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

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

> Multi Insert query fails on CBO path 
> -------------------------------------
>
>                 Key: HIVE-25792
>                 URL: https://issues.apache.org/jira/browse/HIVE-25792
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>            Assignee: Peter Vary
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {code}
> set hive.cbo.enable=true;
> drop table if exists aa1;
> drop table if exists bb1;
> drop table if exists cc1;
> drop table if exists dd1;
> drop table if exists ee1;
> drop table if exists ff1;
> create table aa1 ( stf_id string);
> create table bb1 ( stf_id string);
> create table cc1 ( stf_id string);
> create table ff1 ( x string);
> explain
> from ff1 as a join cc1 as b 
> insert overwrite table aa1 select   stf_id GROUP BY b.stf_id
> insert overwrite table bb1 select b.stf_id GROUP BY b.stf_id
> ;
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)