GitHub user juliuszsompolski opened a pull request:
https://github.com/apache/spark/pull/17289
[SPARK-19948] Document that saveAsTable uses catalog as source of truth for
table existence.
It is quirky behaviour that saveAsTable to e.g. a JDBC source with SaveMode
other
than Overwrite will nevertheless overwrite the table in the external source,
if that table was not a catalog table.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/juliuszsompolski/apache-spark saveAsTableDoc
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17289.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #17289
----
commit 276d81ef261bce815e5ca4c937e57a5e02dbc167
Author: Juliusz Sompolski <[email protected]>
Date: 2017-03-14T12:50:37Z
Document that saveAsTable uses catalog as source of truth for table
existence.
It is quirky behaviour that saveAsTable to e.g. a JDBC source with SaveMode
other
than Overwrite will nevertheless overwrite the table in the external source,
if that table was not a catalog table.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]