[ 
https://issues.apache.org/jira/browse/HIVE-4275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Chauhan updated HIVE-4275:
-----------------------------------

    Fix Version/s:     (was: 0.11.0)
           Status: Open  (was: Patch Available)

I get following error after I applied your patch and ran the included test.
{noformat}
   [junit] Failed query: schemeAuthority.q
    [junit] mkdir: Incomplete HDFS URI, no host: hdfs:///tmp/test
{noformat}
                
> 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
>         Attachments: 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

Reply via email to