You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/02/16 10:39:00 UTC
[jira] [Updated] (HIVE-25960) Fix S3a recursive listing logic
[ 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)