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

Hive does not differentiate scheme and authority in file uris

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.11.0
    • 0.11.0
    • Query Processor
    • None

    Description

      Consider the following set of queries:

      ALTER TABLE abc ADD PARTITION (x='0') LOCATION 'file:///foo';
      ALTER TABLE abc ADD PARTITION (x='1') LOCATION '/foo';
      select count from abc;

      Even though there are different files under these directories, depending on number of mappers, the count produces a value = num of mappers * num of files in the 2 directories. This is incorrect.

      Attachments

        1. HIVE-4275.patch
          5 kB
          Vikram Dixit K
        2. HIVE-4275.4.patch
          14 kB
          Vikram Dixit K
        3. HIVE-4275.3.patch
          14 kB
          Vikram Dixit K
        4. HIVE-4275.2.patch
          7 kB
          Vikram Dixit K

        Issue Links

        Activity

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

          People

            vikram.dixit Vikram Dixit K 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