Uh oh!
There was an error while loading. Please reload this page.
[SPARK-17760][SQL] AnalysisException with dataframe pivot when groupBy column is not attribute - #16177
Closed
aray wants to merge 1 commit into
Closed
[SPARK-17760][SQL] AnalysisException with dataframe pivot when groupBy column is not attribute#16177aray wants to merge 1 commit into
aray wants to merge 1 commit into
Conversation
SparkQA
commented
Dec 6, 2016
Test build #69743 has finished for PR 16177 at commit
|
rxin
commented
Dec 7, 2016
Contributor
cc @cloud-fan / @hvanhovell |
cloud-fan
commented
Dec 7, 2016
Contributor
good catch! LGTM, cc @hvanhovell to take another look. |
hvanhovell
commented
Dec 7, 2016
Contributor
LGTM. Merging to master/2.1. Thanks! |
hvanhovell
commented
Dec 7, 2016
Contributor
@aray could you open a backport for branch 2.0 if you feel that we should also fix it there? |
asfgit pushed a commit
that referenced
this pull request
Dec 7, 2016
…y column is not attribute ## What changes were proposed in this pull request? Fixes AnalysisException for pivot queries that have group by columns that are expressions and not attributes by substituting the expressions output attribute in the second aggregation and final projection. ## How was this patch tested? existing and additional unit tests Author: Andrew Ray <ray.andrew@gmail.com> Closes#16177 from aray/SPARK-17760. (cherry picked from commit f1fca81) Signed-off-by: Herman van Hovell <hvanhovell@databricks.com>
asfgit pushed a commit
that referenced
this pull request
Dec 7, 2016
…hen groupBy column is not attribute ## What changes were proposed in this pull request? Backport of #16177 to branch-2.0 ## How was this patch tested? existing and additional unit tests Author: Andrew Ray <ray.andrew@gmail.com> Closes#16197 from aray/SPARK-17760-2.0.
robert3005 pushed a commit
to palantir/spark
that referenced
this pull request
Dec 15, 2016
…y column is not attribute ## What changes were proposed in this pull request? Fixes AnalysisException for pivot queries that have group by columns that are expressions and not attributes by substituting the expressions output attribute in the second aggregation and final projection. ## How was this patch tested? existing and additional unit tests Author: Andrew Ray <ray.andrew@gmail.com> Closesapache#16177 from aray/SPARK-17760.
uzadude pushed a commit
to uzadude/spark
that referenced
this pull request
Jan 27, 2017
…y column is not attribute ## What changes were proposed in this pull request? Fixes AnalysisException for pivot queries that have group by columns that are expressions and not attributes by substituting the expressions output attribute in the second aggregation and final projection. ## How was this patch tested? existing and additional unit tests Author: Andrew Ray <ray.andrew@gmail.com> Closesapache#16177 from aray/SPARK-17760.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Fixes AnalysisException for pivot queries that have group by columns that are expressions and not attributes by substituting the expressions output attribute in the second aggregation and final projection.
How was this patch tested?
existing and additional unit tests