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

Incorrect exception in the Merge MapJoinTask into its child MapRedTask optimizer

    XMLWordPrintableJSON

Details

    Description

      The CommonJoinTaskDispatcher#mergeMapJoinTaskIntoItsChildMapRedTask method throws a SemanticException if the number of {{FileSinkOperator}}s it finds is not exactly 1. The exception is valid if zero operators are found, but there can be valid use cases where multiple FileSinkOperators exist.

      Example: the MapJoin and it child are used in a common table expression, which is used for multiple inserts.

      Attachments

        Issue Links

          Activity

            People

              zmatyus Zoltan Matyus
              zmatyus Zoltan Matyus
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 20m
                  20m