GitHub user cestella opened a pull request:
https://github.com/apache/incubator-metron/pull/435
METRON-684: Decouple Timestamp calculation from PROFILE_GET
Currently `PROFILE_GET` only supports a static lookback of a fixed
duration. As we have more complicated, potentially sparse, lookbacks (e.g. the
same time slice every tuesday for a month), it would be nice to decouple the
construction of timestamps from `PROFILE_GET` into its own set of functions.
The decoupling plus the default timestamp function is provided here, which
is a fixed window starting from now. This is implemented as `PROFILE_FIXED`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cestella/incubator-metron METRON-684
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-metron/pull/435.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 #435
----
commit 6d6b0385a23fb2b8512e6cb85425425e73159be1
Author: cstella <[email protected]>
Date: 2017-02-02T17:17:57Z
METRON-684: Decouple Timestamp calculation from PROFILE_GET
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---