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

Enable mapred.input.dir.recursive by default to support union with aggregate function

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
    • Major
    • Resolution: Fixed
    • 1.2.1, 2.1.0
    • 4.0.0-alpha-1
    • Hive
    • None

    Description

      When union remove optimization is enabled, union query with aggregate function writes its subquery intermediate results to subdirs which needs mapred.input.dir.recursive to be enabled in order to be fetched. This property is not defined by default in Hive and often ignored by user, which causes the query failure and is hard to be debugged.
      So we need set mapred.input.dir.recursive to true whenever union remove optimization is enabled.

      Attachments

        1. HIVE-12812.patch
          31 kB
          Chaoyu Tang
        2. HIVE-12812.patch
          31 kB
          Chaoyu Tang
        3. HIVE-12812.patch
          31 kB
          Chaoyu Tang
        4. HIVE-12812.1.patch
          19 kB
          Alice Fan
        5. HIVE-12812.2.patch
          19 kB
          Alice Fan

        Issue Links

        Activity

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

          People

            afan Alice Fan Assign to me
            ctang Chaoyu Tang
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment