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

Brock Noland updated HIVE-9349:
-------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Thank you Ferdinand! I have committed this to branch!

> 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
>
>         Attachments: HIVE-9349-encryption.patch
>
>
> 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