Github user chenghao-intel commented on the pull request:
https://github.com/apache/spark/pull/8026#issuecomment-149598558
@JoshRosen I've updated the unit test also by adding an `Append` operation,
without this PR, it will throws exception as I described in the jira
(https://issues.apache.org/jira/browse/SPARK-9735).
The root reason that the previous unit test can even passed, should be
solved #8035, as it will always get the latest schema from the user specified
without calling the `relation.refresh()`, however `relation.refresh()` will be
called indirectly in `Append` mode.
---
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]