GitHub user rxin opened a pull request:
https://github.com/apache/spark/pull/15252
[SPARK-17677][SQL] Break WindowExec.scala into multiple files
## What changes were proposed in this pull request?
As of Spark 2.0, all the window function execution code are in
WindowExec.scala. This file is pretty large (over 1k loc) and has a lot of
different abstractions in them. This patch creates a new package
sql.execution.window, moves WindowExec.scala in it, and breaks WindowExec.scala
into multiple, more maintainable pieces:
- AggregateProcessor.scala
- BoundOrdering.scala
- RowBuffer.scala
- WindowExec
- WindowFunctionFrame.scala
## How was this patch tested?
This patch mostly moves code around, and should not change any existing
test coverage.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rxin/spark SPARK-17677
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15252.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 #15252
----
commit 1124edf477a48ca66cea4287d2e81acafd9e5646
Author: Reynold Xin <[email protected]>
Date: 2016-09-27T03:39:27Z
[SPARK-17677][SQL] Break WindowExec.scala into multiple files
----
---
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]