Skip to content

Conversation

@tmagrino
Copy link
Contributor

@tmagrino tmagrino commented Aug 1, 2016

What changes were proposed in this pull request?

Fix of incorrect arguments (dropping slideDuration and using windowDuration) in constructors for TimeWindow.

The JIRA this addresses is here: https://issues.apache.org/jira/browse/SPARK-16837

How was this patch tested?

Added a test to TimeWindowSuite to check that the results of TimeWindow object apply and TimeWindow class constructor are equivalent.

@tmagrino
Copy link
Contributor Author

tmagrino commented Aug 1, 2016

CCing @srowen, @brkyvz, and @sameeragarwal, who appear to have authored a good deal of the TimeWindow code, for comment.

@brkyvz
Copy link
Contributor

brkyvz commented Aug 1, 2016

oh wow. oops. Thanks for the fix. LGTM!

@sameeragarwal
Copy link
Member

Jenkins test this please

@SparkQA
Copy link

SparkQA commented Aug 1, 2016

Test build #63090 has finished for PR 14441 at commit 0e0136a.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen
Copy link
Member

srowen commented Aug 2, 2016

Merged to master/2.0

asfgit pushed a commit that referenced this pull request Aug 2, 2016
…tructors

## What changes were proposed in this pull request?

Fix of incorrect arguments (dropping slideDuration and using windowDuration) in constructors for TimeWindow.

The JIRA this addresses is here: https://issues.apache.org/jira/browse/SPARK-16837

## How was this patch tested?

Added a test to TimeWindowSuite to check that the results of TimeWindow object apply and TimeWindow class constructor are equivalent.

Author: Tom Magrino <[email protected]>

Closes #14441 from tmagrino/windowing-fix.

(cherry picked from commit 1dab63d)
Signed-off-by: Sean Owen <[email protected]>
@asfgit asfgit closed this in 1dab63d Aug 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants