Details
-
Task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
The hive.cbo.fallback.strategy property defines when Hive fallbacks to legacy optimizer if an error occurs during the CBO phase.
At the moment the default value is CONSERVATIVE, which is the backward compatible option, and automatically fallbacks to legacy optimizer when certain errors occur.
The legacy optimizer is (hive.cbo.enable=false) is gonna soon be officially deprecated (HIVE-27830); unofficially it was treated as such for a long time now.
To reduce maintenance cost and improve CBO coverage and stability we should NEVER fallback to the legacy optimizer after a CBO error.
NEVER should be the default behavior in newer releases; users can still set the property to CONSERVATIVE as a temporary workaround till the CBO error is addressed.
Attachments
Issue Links
- is related to
-
HIVE-28571 Basic UNIONTYPE support in CBO
- Resolved
- relates to
-
HIVE-28193 Skip CBO fallback when EXCEPT/INTERSECT/QUALIFY are used
- Resolved
-
HIVE-24601 Control CBO fallback behavior via property
- Closed
-
HIVE-27830 Deprecate hive.cbo.enable property
- Open
- links to