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

Simplify ColumnPruner when CBO optimizes the query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.0.0
    • None
    • Logical Optimizer
    • None

    Description

      The plan for any given query optimized by CBO will always contain a Project operator on top of the TS that prunes that columns that are not needed.

      Thus, there is no need for Hive optimizer to traverse the whole plan to check which columns can be pruned. In fact, Hive ColumnPruner optimizer only needs to match TS operators when CBO optimized the plan.

      Attachments

        Issue Links

          Activity

            People

              jcamacho Jesús Camacho Rodríguez
              jcamacho Jesús Camacho Rodríguez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: