xuanyuanking opened a new pull request #31638: URL: https://github.com/apache/spark/pull/31638
### What changes were proposed in this pull request? When checking the path in `FileStreamSink.hasMetadata`, we should ignore the error and assume the user wants to read a batch output. ### Why are the changes needed? Keep the original behavior of ignoring the error. ### Does this PR introduce _any_ user-facing change? Yes. The path checking will not throw an exception when checking file sink format ### How was this patch tested? New UT added. -- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
