metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickwallen <...@git.apache.org>
Subject [GitHub] incubator-metron pull request #231: METRON-394 Create Stellar Date Functions...
Date Thu, 25 Aug 2016 13:50:08 GMT
GitHub user nickwallen opened a pull request:

    https://github.com/apache/incubator-metron/pull/231

    METRON-394 Create Stellar Date Functions to Use with Profile 'Group By'

    ### [METRON-394](https://issues.apache.org/jira/browse/METRON-394)
    
    [METRON-392](https://issues.apache.org/jira/browse/METRON-392) and #230  Allows a user
to optionally define a custom set of 'groupBy' expressions that controls how Profile data
is persisted. This is intended to allow for contiguous scans when training on subsets of the
data.
    
    A common use case would be grouping the data by some calendar period, like day of week.
This would allow a contiguous scan to access all profile data, for example, on Mondays only.
The Stellar expression DAY_OF_WEEK(start) would achieve this.
    
    The following functions have been added for this purpose.
    * WEEK_OF_MONTH
    * WEEK_OF_YEAR
    * DAY_OF_WEEK
    * DAY_OF_MONTH
    * DAY_OF_YEAR
    * MONTH
    * YEAR


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nickwallen/incubator-metron METRON-394

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-metron/pull/231.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 #231
    
----
commit 12873b151eafaa05c712efb42261fc3ca5e5bf43
Author: Nick Allen <nick@nickallen.org>
Date:   2016-08-25T13:44:37Z

    METRON-394 Create Stellar Date Functions to Use with Profile 'Group By'

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message