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

JoinReorder's getOutputSize is exponential

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • None

    Description

      Found by mmokhtar. Causes major issues in large plans (50+ joins). Simple fix would be to memoize the recursion. There should also be a flag to switch this opt off.

      Attachments

        1. HIVE-9984.1.patch
          5 kB
          Gunther Hagleitner
        2. HIVE-9984.2.patch
          4 kB
          Gopal Vijayaraghavan

        Activity

          People

            gopalv Gopal Vijayaraghavan
            hagleitn Gunther Hagleitner
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: