Github user dongjoon-hyun commented on the issue:
https://github.com/apache/spark/pull/14086
To identify further works, I'll rephrase your comments.
You means the case `SaveMode.Overwrite` should fail due to that current
Spark uses `statement.executeUpdate(s"DROP TABLE $table")`.
> Drop table will not drop the descendant tables, unless you explicitly
specify CASCADE. The behaviors of TRUNCATE depends on the vendors.
In this case, what you want in this PR is `truncate` option also should
fail in the same way. Right?
---
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]