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

stats optimize subqueries whenever possible in a union query

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Logical Optimizer
    • Labels:
      None

      Description

      HIVE-12788 addressed a data incorrect issue in union query with aggregate function when stats optimization is enabled. It won't stats optimize a query if any of its subqueries can not be.
      Pengcheng Xiong suggested an enhancement to leverage the stats optimizer whenever possible (even only for a branch of a union), and we need investigate the possible solution.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ctang Chaoyu Tang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: