GitHub user cloud-fan opened a pull request:
https://github.com/apache/spark/pull/19484
[SPARK-22252][SQL][2.2] FileFormatWriter should respect the input query
schema
## What changes were proposed in this pull request?
https://github.com/apache/spark/pull/19483 fixes SPARK-21165 but breaks
SPARK-22252. This PR reverts https://github.com/apache/spark/pull/18386 and
picks the patch from https://github.com/apache/spark/pull/19483 to fix
SPARK-21165.
## How was this patch tested?
new regression test
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloud-fan/spark bug
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19484.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 #19484
----
commit 9d6417e93e6c536916224615e9ec27eadd659066
Author: Wenchen Fan <[email protected]>
Date: 2017-10-12T13:16:50Z
Revert "[SPARK-21165] [SQL] [2.2] Use executedPlan instead of analyzedPlan
in INSERT AS SELECT [WIP]"
This reverts commit b6749ba09724b3ed19166e7bb0b1fdcca79a44ba.
commit b625d41c9c155ace52d5667c6cbe2af6623da5a0
Author: Wenchen Fan <[email protected]>
Date: 2017-10-12T13:24:10Z
tmp
commit 1a15cb276e8c82c01050287d63b2a87658d653bc
Author: Wenchen Fan <[email protected]>
Date: 2017-10-12T14:20:10Z
FileFormatWriter should only rely on attributes from analyzed plan
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]