vrozov opened a new pull request, #49928: URL: https://github.com/apache/spark/pull/49928
### What changes were proposed in this pull request? Change error message from `Expected exactly one path to be specified, but got: .` to `'path' is not specified.` when path is not specified in the call to `DataFrame.write().save(path)` explicitly or using `option(path, ...)`, `parquet(path)` and etc. ### Why are the changes needed? The error message is more accurate. ### Does this PR introduce _any_ user-facing change? Yes, user would get corrected error message when they do not specify path. ### How was this patch tested? Updated error message in the R test suite. ### Was this patch authored or co-authored using generative AI tooling? No -- 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]
