selectedhan commented on issue #13769:
URL: https://github.com/apache/seatunnel/issues/13769#issuecomment-7300740952

   Thanks. The PR is #13773. Summary of what it does and how it was tested:
   
   - `SFTPFileSystem.open()` now asks the server about the single path with 
`lstat` instead of listing the parent directory. Other callers of 
`getFileStatus` and the error mapping are unchanged.
   - One `open()` + read drops from about 12 / 29 / 95 ms to 7 / 8 / 8 ms for 
directories of 100 / 1,000 / 5,000 entries (SFTP server on the same network as 
the client).
   - Unit tests were added for special characters, symbolic links, missing 
files, and directories. A new IT uses the real server container to cover the 
execute-only directory case, and the English and Chinese docs describe the 
permissions.
   - Tested against OpenSSH `sshd` (an Alpine-based container, amd64), both 
with `internal-sftp` plus `ChrootDirectory` and with the external `sftp-server` 
subsystem without chroot. The 22-case comparison gave the same result on both, 
and the execute-only (`--x`) directory is the only difference. It is called out 
in the PR description so that reviewers can decide whether it is acceptable.
   


-- 
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]

Reply via email to