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

Incorrect exception in the Merge MapJoinTask into its child MapRedTask optimizer

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            zmatyus Zoltan Matyus Assign to me
            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

              Slack

                Issue deployment