[ https://issues.apache.org/jira/browse/HIVE-25960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HIVE-25960: ---------------------------------- Labels: pull-request-available (was: ) > 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 > Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > 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)