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

Hive converts bucket map join to SMB join even when tables are not sorted

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

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.11.0
    • 0.11.0
    • Query Processor
    • None
    • Reviewed

    Description

      If tables are just bucketed but not sorted, we are generating smb join operator. This results in loss of rows in queries.

      Attachments

        1. hive.4167.1.patch
          50 kB
          Namit Jain
        2. hive.4167.2.patch
          43 kB
          Namit Jain
        3. hive.4167.3.patch
          51 kB
          Namit Jain
        4. hive.4167.4.patch
          44 kB
          Namit Jain
        5. hive.4167.4.patch-nohcat
          51 kB
          Namit Jain
        6. HIVE-4167.patch
          3 kB
          Vikram Dixit K

        Issue Links

        Activity

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

          People

            namit Namit Jain Assign to me
            vikram.dixit Vikram Dixit K
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment