Vikram Dixit K created HIVE-4275: ------------------------------------ Summary: 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.11.0
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