You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zoltan Haindrich (Jira)" <ji...@apache.org> on 2021/01/28 15:25:00 UTC

[jira] [Resolved] (HIVE-24601) Control CBO fallback behavior via property

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

Zoltan Haindrich resolved HIVE-24601.
-------------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

merged into master. Thank you Stamatis for making this better!

> Control CBO fallback behavior via property
> ------------------------------------------
>
>                 Key: HIVE-24601
>                 URL: https://issues.apache.org/jira/browse/HIVE-24601
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Stamatis Zampetakis
>            Assignee: Stamatis Zampetakis
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> When CBO optimizer fails there is a fallback mechanism(HIVE-7413) that will retry to process the query using the legacy Hive optimizer. 
> There are use-cases where this behavior is not desirable notably for the tests (HIVE-16058) but also for end users who would like to disable the fall-back mechanism to avoid running problematic queries without realizing.
> The goal of this issue is to introduce a dedicated Hive property controlling this behavior,{{hive.cbo.fallback.enable}}, for both tests and production. The default value should be true and tests should run with this property set to false. 



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