Ferdinand Xu created HIVE-9349:
----------------------------------
Summary: 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)