Uh oh!
There was an error while loading. Please reload this page.
[SPARK-21165][SQL] FileFormatWriter should handle mismatched attribute ids between logical and physical plan - #19483
[SPARK-21165][SQL] FileFormatWriter should handle mismatched attribute ids between logical and physical plan#19483cloud-fan wants to merge 1 commit into
Conversation
cloud-fan
commented
Oct 12, 2017
cc @gatorsmile |
SparkQA
commented
Oct 12, 2017
Test build #82683 has finished for PR 19483 at commit
|
SparkQA
commented
Oct 12, 2017
Test build #82685 has finished for PR 19483 at commit
|
gatorsmile
commented
Oct 13, 2017
It sounds like we are facing various issues because we are using the analyzed plan. Is that possible we just add an extra Project using the analyzed plan's output at the end of optimizer? |
cloud-fan
commented
Oct 13, 2017
I'll refactor it later, to use |
tejasapatil
commented
Oct 13, 2017
The hive bucketing PR does that : #19001 I can isolate that piece and put out a PR |
cloud-fan
commented
Oct 13, 2017
that will be great, thanks @tejasapatil ! |
SparkQA
commented
Oct 13, 2017
Test build #82712 has finished for PR 19483 at commit
|
…ry schema ## What changes were proposed in this pull request? #18386 fixes SPARK-21165 but breaks SPARK-22252. This PR reverts #18386 and picks the patch from #19483 to fix SPARK-21165. ## How was this patch tested? new regression test Author: Wenchen Fan <wenchen@databricks.com> Closes#19484 from cloud-fan/bug.
cloud-fan
commented
Oct 13, 2017
thanks for the review, merging to master! |
…ry schema ## What changes were proposed in this pull request? apache#18386 fixes SPARK-21165 but breaks SPARK-22252. This PR reverts apache#18386 and picks the patch from apache#19483 to fix SPARK-21165. ## How was this patch tested? new regression test Author: Wenchen Fan <wenchen@databricks.com> Closesapache#19484 from cloud-fan/bug.
What changes were proposed in this pull request?
Due to optimizer removing some unnecessary aliases, the logical and physical plan may have different output attribute ids. FileFormatWriter should handle this when creating the physical sort node.
How was this patch tested?
new regression test.