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

Add option for removing intermediate directory for partition, which is empty

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

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.13.0
    • Query Processor
    • None

    Description

      For deeply nested partitioned table, intermediate directories are not removed even if there is no partitions in it by removing them.

      /deep_part/c=09/d=01
      /deep_part/c=09/d=01/e=01
      /deep_part/c=09/d=01/e=02
      /deep_part/c=09/d=02
      /deep_part/c=09/d=02/e=01
      /deep_part/c=09/d=02/e=02
      

      After removing partition (c='09'), directory remains like this,

      /deep_part/c=09/d=01
      /deep_part/c=09/d=02
      

      Attachments

        1. HIVE-5220.D12729.1.patch
          3 kB
          Phabricator
        2. D12729.2.patch
          2 kB
          Phabricator

        Issue Links

        Activity

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

          People

            navis Navis Ryu Assign to me
            navis Navis Ryu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment