[GitHub] spark pull request #14050: [MINOR][EXAMPLES] Window function examples

2016-10-22 Thread aokolnychyi
Github user aokolnychyi closed the pull request at:

https://github.com/apache/spark/pull/14050


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request #14050: [MINOR][EXAMPLES] Window function examples

2016-07-04 Thread aokolnychyi
GitHub user aokolnychyi opened a pull request:

https://github.com/apache/spark/pull/14050

[MINOR][EXAMPLES] Window function examples

## What changes were proposed in this pull request?

An example that explains the usage of window functions. 
It shows the difference between no/unbounded/bounded window frames and how 
they are resolved.
The example also embraces 2 ways to define window frames: based on physical 
(rowsBetween) and logical (rangeBetween) offsets.

The example should be useful for people who do not have much experience 
with window functions since it explains how Spark internally deals with window 
frames.

## How was this patch tested?

The existing tests were run, no failures. No additional test cases are 
needed.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aokolnychyi/spark window_function_examples

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/spark/pull/14050.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 #14050


commit fed17613e23c1634ae47542a00960dac77bc95fc
Author: aokolnychyi 
Date:   2016-07-04T22:25:39Z

[MINOR][EXAMPLES] Window function examples




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org