GitHub user viirya opened a pull request:
https://github.com/apache/spark/pull/13772
[SPARK-16049][SQL] Make InsertIntoTable's expectedColumns support
case-insensitive resolution properly
## What changes were proposed in this pull request?
Right now, `InsertIntoTable`'s `expectedColumns` uses the method of
`contains` to find static partitioning columns. When analyzer is
case-insensitive, the initialization of this lazy val will not work as expected.
## How was this patch tested?
Existing tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/viirya/spark-1 fix-expectedcols
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13772.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 #13772
----
commit 8404415c749f3b26ab8fc117497c067690e09a32
Author: Liang-Chi Hsieh <[email protected]>
Date: 2016-06-19T09:09:03Z
import.
commit ad03cabb5ce1ec45ff851fb4205f55ae6f501585
Author: Liang-Chi Hsieh <[email protected]>
Date: 2016-06-19T09:58:25Z
import.
commit 4046537d24e0106534dbff463b68cbf58877ab85
Author: Liang-Chi Hsieh <[email protected]>
Date: 2016-06-19T12:54:59Z
Fix resolved of InsertIntoTable.
commit f9b29074078c99de537446b950bac1a71ce4ec05
Author: Liang-Chi Hsieh <[email protected]>
Date: 2016-06-19T13:36:21Z
Resolve InsertIntoTable's expectedColumns.
----
---
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]