Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-6388

UnionNode sets the number of nodes incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 2.5.0, Impala 2.6.0, Impala 2.7.0, Impala 2.8.0, Impala 2.9.0, Impala 2.10.0, Impala 2.11.0
    • Impala 2.12.0
    • Frontend

    Description

      The UnionNode plan node incorrectly sets the number of nodes based on its first child. An inaccurate number of nodes can lead to bad planning decisions, e.g. wrong join order or strategy.

      A better policy would be to set the number of nodes based on the max nodes over all the union's children. That number might still underestimate the real number of nodes, but significantly less so.

      Getting a more accurate estimate would involve keeping track of the actual list of hosts in all plan nodes. Let's focus on the simpler solution outlined above first.

      Attachments

        Activity

          People

            tarasbob Taras Bobrovytsky
            alex.behm Alexander Behm
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: