himanish-star opened a new pull request, #16681: URL: https://github.com/apache/pinot/pull/16681
#### Problem When browsing files and directories in S3 using the S3PinotFS file system implementation, the parent directory itself was being included in the listing results. This behavior was incorrect as file listing operations should only return the contents within a directory, not the directory itself. #### Solution Updated the visitFiles method in S3PinotFS.java to filter out the parent directory from both: Files: Added filtering to exclude files where file.key() matches the directory prefix Subdirectories: Added filtering to exclude common prefixes where dir.prefix() matches the directory prefix -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
