Github user rdblue commented on the pull request:

    https://github.com/apache/spark/pull/12313#issuecomment-222231124
  
    @yhuai, I'll add an option for strict checking.
    
    I agree with you that we need to have a holistic solution. It's also not 
ideal that some write methods already map by name while others don't. That's a 
good argument against adding the `byName` modifier because it should apply to 
how anything is written using that `DataFrameWriter`.
    
    What do you think about combining the two by adding a `insertByNameInto` 
method? That way we preserve the behavior of `insertInto` but make it clear by 
way of contrast that there are other options. Then we also don't have a 
`byName` method that doesn't make sense with the current behavior of 
`saveAsTable`.


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