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

Ferdinand Xu updated HIVE-9349:
-------------------------------
    Status: Patch Available  (was: Open)

> Remove the schema in the getQualifiedPathWithoutSchemeAndAuthority method
> -------------------------------------------------------------------------
>
>                 Key: HIVE-9349
>                 URL: https://issues.apache.org/jira/browse/HIVE-9349
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Ferdinand Xu
>            Assignee: Ferdinand Xu
>             Fix For: encryption-branch
>
>
> We should get the absolute path and then get the path without schema.
> Current code is like:
>   Path path = Path.getPathWithoutSchemeAndAuthority(srcf);
>   return path.makeQualified(path.toUri(), currentWorkingDir).toString(); 
> The correct order should be like:
>   Path path = srcf.makeQualified(srcf.toUri(), currentWorkingDir);
>   Path.getPathWithoutSchemeAndAuthority(path).toString();



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to