You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Matthias Pohl (Jira)" <ji...@apache.org> on 2022/02/09 18:58:00 UTC
[jira] [Created] (FLINK-26061) FileSystem.getFileStatus fails for directories
Matthias Pohl created FLINK-26061:
-------------------------------------
Summary: FileSystem.getFileStatus fails for directories
Key: FLINK-26061
URL: https://issues.apache.org/jira/browse/FLINK-26061
Project: Flink
Issue Type: Technical Debt
Components: Connectors / FileSystem
Affects Versions: 1.15.0
Reporter: Matthias Pohl
{{FileSystem.getFileStatus}} is not supported for directories in object stores (like s3). We might want to adjust the interface here. It's not clear based on the contract that for certain {{FileSystem}} implementations. This is especially unintuitive because there is a {{isDir()}} method provided by the resulting {{FileStatus}} instance.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)