Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
2.0.1
-
None
-
None
Description
This function should allow looking back. The current window(timestamp, duration) seems to be for looking forward in time.
Example:
dataFrame.groupBy(window("date", "7 days ago")).agg(min("col1"), max("col1"))
For example, if date: 2013-01-07 then the window should be 2013-01-01 - 2013-01-07