Ayush Saxena created HIVE-25960:
-----------------------------------

             Summary: Fix S3a recursive listing logic
                 Key: HIVE-25960
                 URL: https://issues.apache.org/jira/browse/HIVE-25960
             Project: Hive
          Issue Type: Bug
            Reporter: Ayush Saxena
            Assignee: Ayush Saxena


To make the path relative:

Path relativePath = new Path(each.getPath().toString().replace(base.toString(), 
""));

 

Here base in the FileStatus not the path. It should be 
base.getPath().toString() and instead of replace it should be replaceFirst()



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to