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

ConvertJoinMapJoin#checkShuffleSizeForLargeTable throws ArrayIndexOutOfBoundsException if no big table is selected

    XMLWordPrintableJSON

Details

    Description

      In case when bigTableCandidateSet is empty e.g. full outer join, we end up calling checkShuffleSizeForLargeTable with bigTablePosition as -1, resulting in ArrayIndexOutOfBoundsException.

      Also, should we return as soon as we see bigTableCandidateSet is empty ?

      Attachments

        1. HIVE-22201.05.patch
          1 kB
          Himanshu Mishra
        2. HIVE-22201.04.patch
          1 kB
          Himanshu Mishra
        3. HIVE-22201.03.patch
          1 kB
          Himanshu Mishra
        4. HIVE-22201.02.patch
          1 kB
          Himanshu Mishra
        5. HIVE-22201.01.patch
          1 kB
          Himanshu Mishra

        Issue Links

          Activity

            People

              himanshum Himanshu Mishra
              himanshum Himanshu Mishra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h