GitHub user cloud-fan opened a pull request:
https://github.com/apache/spark/pull/9792
[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`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloud-fan/spark agg
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/9792.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 #9792
----
commit 58509f8d171d159b4ecf8d36722e24ea6c7a9c12
Author: Wenchen Fan <[email protected]>
Date: 2015-11-18T05:29:44Z
combine grouping attributes into a single NamedExpression
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]