[ https://issues.apache.org/jira/browse/HIVE-4275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13637300#comment-13637300 ]
Navis commented on HIVE-4275: ----------------------------- hadoop-0.20.2-cdh3u1 is not working with this patch. After upgrading to cdh3u6, it worked. > Hive does not differentiate scheme and authority in file uris > ------------------------------------------------------------- > > Key: HIVE-4275 > URL: https://issues.apache.org/jira/browse/HIVE-4275 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.11.0 > Reporter: Vikram Dixit K > Assignee: Vikram Dixit K > Fix For: 0.12.0 > > Attachments: HIVE-4275.2.patch, HIVE-4275.3.patch, HIVE-4275.4.patch, > HIVE-4275.patch > > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira