GitHub user misutoth opened a pull request:
https://github.com/apache/spark/pull/21591
[SQL][WIP] Added column name listing option to INSERT INTO
## What changes were proposed in this pull request?
Added possibility to specify column list to INSERT INTO. Source column list
matched against that explicit list of columns. Also works if column requires
casting.
Did not work out all the cases. I am interested in if the direction and
basic concepts are good. Then I can create a "real" PR.
## How was this patch tested?
Ran unit tests, created new ones in InsertInto.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/misutoth/spark master-SPARK-20845
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21591.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21591
commit 830859c05d07f9db2780d377a12925e056bcebcd
Author: Mihaly Toth
Date: 2018-03-20T06:13:01Z
[SQL][WIP] Added column name listing option to INSERT INTO
---
-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org