beliefer commented on issue #23841: [SPARK-26936][SQL] Fix bug of insert overwrite local dir can not create temporary path in local staging directory URL: https://github.com/apache/spark/pull/23841#issuecomment-476447480 > This doesn't sound like the right fix, as it would change behavior much more broadly than that. Why is a local file used in the first place here? is it user error or something farther up that's specifying the wrong dir? Using the local path is the original behavior of spark. When Spark execute the SQL `insert overwrite local directory` in `yarn-client` mode, original Spark will use `LocalFileSystem` to create temp path start with `file:/`. `DistributedFileSystem` will write data to the temp path but recognize the path.
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
