GitHub user cloud-fan opened a pull request:
https://github.com/apache/spark/pull/12067
[SPARK-14275][SQL][WIP] Reimplement TypedAggregateExpression to
DeclarativeAggregate
## What changes were proposed in this pull request?
`ExpressionEncoder` is just a container for serialization and
deserialization expressions, we can use these expressions to build
`TypedAggregateExpression` directly, so that it can fit into
`DeclarativeAggregate`, which is more efficient.
## How was this patch tested?
existing tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloud-fan/spark typed_udaf
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12067.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 #12067
----
commit 68ede96ddeccf18a58501a88dfab6bcd35d53dae
Author: Wenchen Fan <[email protected]>
Date: 2016-03-30T16:39:39Z
Reimplement TypedAggregateExpression to DeclarativeAggregate
----
---
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]