Piggybank function which turns ranges of times into a time series of
time,occurrences pairs
-------------------------------------------------------------------------------------------
Key: PIG-2364
URL: https://issues.apache.org/jira/browse/PIG-2364
Project: Pig
Issue Type: Improvement
Reporter: Jonathan Coveney
Attachments: window.patch
This came up on the listserv. Someone wanted a way to turn (start,end) ranges
like {(1,3),(2,2),(3,4)} into a timeseries with the number of ranges which
include the given time ie {(1,1),(2,2),(3,2),(4,1)} with an optional lag
parameter. This patch is that. I included tests. Maybe there is a better name,
or this should be in a different package?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira