Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-12764 Support Intersect (distinct/all) Except (distinct/all) Minus (distinct/all) in Hive
  3. HIVE-14957

HiveSortLimitPullUpConstantsRule misses branches when parent operator is Union

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.1.1, 2.2.0
    • None
    • None

    Description

      call.transformTo(parent.copy(parent.getTraitSet(), ImmutableList.of(relBuilder.build())));
      

      When parent is an union operator which has 2 inputs, the parent.copy will only copy the one that has SortLimit and ignore the other branches.

      Attachments

        1. HIVE-14957.01.patch
          1 kB
          Pengcheng Xiong
        2. HIVE-14957.02.patch
          1 kB
          Pengcheng Xiong

        Activity

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

          People

            pxiong Pengcheng Xiong Assign to me
            pxiong Pengcheng Xiong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment