Github user cloud-fan closed the pull request at:
https://github.com/apache/spark/pull/15465
---
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
GitHub user cloud-fan opened a pull request:
https://github.com/apache/spark/pull/15465
[SPARK-17909][SQL] we should create table before writing out the data in
CTAS
## What changes were proposed in this pull request?
In `CreateDataSourceTableAsSelectCommand`, we write out