diff options
author | Tom Magrino <tmagrino@fb.com> | 2016-08-02 09:16:44 -0700 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-08-02 09:16:44 -0700 |
commit | 1dab63d8d3c59a3d6b4ee8e777810c44849e58b8 (patch) | |
tree | e85fe2ff8c94b10a4b3dca3f007adb025ef4290d /python/pyspark/sql/tests.py | |
parent | 36827ddafeaa7a683362eb8da31065aaff9676d5 (diff) | |
download | spark-1dab63d8d3c59a3d6b4ee8e777810c44849e58b8.tar.gz spark-1dab63d8d3c59a3d6b4ee8e777810c44849e58b8.tar.bz2 spark-1dab63d8d3c59a3d6b4ee8e777810c44849e58b8.zip |
[SPARK-16837][SQL] TimeWindow incorrectly drops slideDuration in constructors
## 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 <tmagrino@fb.com>
Closes #14441 from tmagrino/windowing-fix.
Diffstat (limited to 'python/pyspark/sql/tests.py')
0 files changed, 0 insertions, 0 deletions