diff options
author | Wenchen Fan <wenchen@databricks.com> | 2015-11-18 10:33:17 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-11-18 10:33:17 -0800 |
commit | dbf428c87ab34b6f76c75946043bdf5f60c9b1b3 (patch) | |
tree | ac7f578f3d695509a53e5bb8d46ed4492985b502 /bin | |
parent | 33b837333435ceb0c04d1f361a5383c4fe6a5a75 (diff) | |
download | spark-dbf428c87ab34b6f76c75946043bdf5f60c9b1b3.tar.gz spark-dbf428c87ab34b6f76c75946043bdf5f60c9b1b3.tar.bz2 spark-dbf428c87ab34b6f76c75946043bdf5f60c9b1b3.zip |
[SPARK-11795][SQL] combine grouping attributes into a single NamedExpression
we use `ExpressionEncoder.tuple` to build the result encoder, which assumes the input encoder should point to a struct type field if it’s non-flat.
However, our keyEncoder always point to a flat field/fields: `groupingAttributes`, we should combine them into a single `NamedExpression`.
Author: Wenchen Fan <wenchen@databricks.com>
Closes #9792 from cloud-fan/agg.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions