You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Nick Allen (JIRA)" <ji...@apache.org> on 2016/08/25 13:42:20 UTC

[jira] [Created] (METRON-394) Create Stellar Date Functions to Use with Profile 'Group By'

Nick Allen created METRON-394:
---------------------------------

             Summary: Create Stellar Date Functions to Use with Profile 'Group By'
                 Key: METRON-394
                 URL: https://issues.apache.org/jira/browse/METRON-394
             Project: Metron
          Issue Type: Improvement
            Reporter: Nick Allen
            Assignee: Nick Allen


METRON-392 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 would be useful to have for this purpose.

* WEEK_OF_MONTH
* WEEK_OF_YEAR
* DAY_OF_WEEK
* DAY_OF_MONTH
* DAY_OF_YEAR
* MONTH
* YEAR



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)