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

bad compressed file names from insert into

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
    • 0.8.0
    • 0.8.0
    • None
    • None

    Description

      When INSERT INTO is run on a table with compressed output (hive.exec.compress.output=true) and existing files in the table, it may copy the new files in bad file names:

      Before INSERT INTO:
      000000_0.gz

      After INSERT INTO:
      000000_0.gz
      000000_0.gz_copy_1

      This causes corrupted output when doing a SELECT * on the table.
      Correct behavior should be to pick a valid filename such as:
      000000_0_copy_1.gz

      Attachments

        1. hive-2296.1.patch
          1 kB
          Franklin Hu
        2. hive-2296.2.patch
          9 kB
          Franklin Hu

        Activity

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

          People

            franklinhu Franklin Hu Assign to me
            franklinhu Franklin Hu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment