diff options
author | Andrew Ray <ray.andrew@gmail.com> | 2016-12-07 04:44:14 -0800 |
---|---|---|
committer | Herman van Hovell <hvanhovell@databricks.com> | 2016-12-07 04:44:14 -0800 |
commit | f1fca81b165c5a673f7d86b268e04ea42a6c267e (patch) | |
tree | e688ad2a71b46b09fafe04318160513899f424f1 /licenses/LICENSE-postgresql.txt | |
parent | c496d03b5289f7c604661a12af86f6accddcf125 (diff) | |
download | spark-f1fca81b165c5a673f7d86b268e04ea42a6c267e.tar.gz spark-f1fca81b165c5a673f7d86b268e04ea42a6c267e.tar.bz2 spark-f1fca81b165c5a673f7d86b268e04ea42a6c267e.zip |
[SPARK-17760][SQL] AnalysisException with dataframe pivot when groupBy 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.
Diffstat (limited to 'licenses/LICENSE-postgresql.txt')
0 files changed, 0 insertions, 0 deletions