cloud-fan commented on issue #25995: [SPARK-29324][SQL] Fix overwrite behaviour for saveAsTable URL: https://github.com/apache/spark/pull/25995#issuecomment-538866799 `saveAsTable` with overwrite mode is kind of `REPLACE OR CREATE TABLE AS SELECT`. This is the expected behavior. I think what you need is `insertInto`, but you would need to deal with non-existing table manually.
---------------------------------------------------------------- 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]
