[ https://issues.apache.org/jira/browse/HIVE-25960?focusedWorklogId=730944&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-730944 ]
ASF GitHub Bot logged work on HIVE-25960: ----------------------------------------- Author: ASF GitHub Bot Created on: 22/Feb/22 14:14 Start Date: 22/Feb/22 14:14 Worklog Time Spent: 10m Work Description: ayushtkn merged pull request #3031: URL: https://github.com/apache/hive/pull/3031 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 730944) Time Spent: 1h (was: 50m) > 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: 1h > 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)