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

Integer overflow bug in ConditionalResolverCommonJoin.AliasFileSizePair

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.11.0, 0.12.0, 0.13.0
    • 0.13.0
    • None
    • None

    Description

      Sometimes, auto map join conversion unexpectedly fails to choose map join over a common join, even if the auto map join conversion's size criterion is satisfied.

      This is caused by an integer overflow bug in the method compareTo of the class ConditionalResolverCommonJoin.AliasFileSizePair.

      The bug is triggered only if the big table size exceeds the small table size by at least 2**31 bytes.

      Attachments

        1. HIVE-5418.0.patch
          2 kB
          Steven K. Wong
        2. HIVE-5418.1.patch
          2 kB
          Steven K. Wong

        Activity

          People

            slider Steven K. Wong
            slider Steven K. Wong
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: