Chirag Dewan created FLINK-33367: ------------------------------------ Summary: Invalid Check in DefaultFileFilter Key: FLINK-33367 URL: https://issues.apache.org/jira/browse/FLINK-33367 Project: Flink Issue Type: Bug Components: Connectors / FileSystem Affects Versions: 1.16.2 Reporter: Chirag Dewan
There is a null check in DefaultFileFilter: if (fileName == null || fileName.length() == 0) { return true; } So 2 questions here - 1) Can a file name ever be null? 2) What will be the behavior with return true? Should be it return false rather? -- This message was sent by Atlassian Jira (v8.20.10#820010)