Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-27830

Deprecate hive.cbo.enable property

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      CBO was enabled by default in Hive 1.1.0 (HIVE-8395) back in 2014. Since then the CBO planner has matured a lot and most production environments are running with this flag always on.

      Nowadays, disabling CBO is strongly discouraged not only for performance reasons but also because various features depend on it.

      Moreover, the vast majority of testing is done using CBO on and there is not much test coverage for the legacy code path.

      It is impossible to fully support all Hive features using both CBO on/off and keeping this flag around significantly increases maintenance cost.

      The goal of this ticket is to deprecate hive.cbo.enable property and inform users that its use is discouraged and unsupported. This would allow us to remove this property in a subsequent release.

      Ideally we should emit an informative warning message when we detect that hive.cbo.enable is set to false.

      Attachments

        Issue Links

          Activity

            People

              zabetak Stamatis Zampetakis
              zabetak Stamatis Zampetakis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: