Github user srowen commented on the issue:

    https://github.com/apache/spark/pull/14086
  
    I suppose my key question is still: do we need to make the user choose at 
all? it seems like TRUNCATE is always the right choice except when schema 
changes. That means, ideally, no new SaveMode. Overwrite would just cause 
TRUNCATE where possible, otherwise DROP/CREATE.
    
    I think this is specific to JDBC only. Other sources can leave their 
behavior unchanged.
    
    Yes, I think the next question is, how hard is it to reliably detect that 
the schema hasn't changed? you know better than I, likely.


---
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]

Reply via email to