[
https://issues.apache.org/jira/browse/METRON-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961838#comment-15961838
]
ASF GitHub Bot commented on METRON-831:
---------------------------------------
Github user cestella commented on the issue:
https://github.com/apache/incubator-metron/pull/517
@ottobackwards Thanks for the +1 and yeah, I definitely hear the concern.
I wanted a rudimentary set of functional primitives, but there should be a
follow-up to correct some issues with them around capability, such as
supporting more complex data structures than lists (i.e. supporting `MAP({
'key' : 'value', 'key2' : 'value2' }, (k,v) -> JOIN([k, v], ':'))` should be
`['key:value', 'key2:value2'])`). In that case, it wouldn't assume a single
argument.
Oh, also, we do actually validate before a zookeeper push all stellar
statements. It will fail if you botch the stellar. I'm looking forward to a
proper UI around stellar, though, for sure. :)
> Add lambda expressions and rudimentary functional programming primitives to
> Stellar
> -----------------------------------------------------------------------------------
>
> Key: METRON-831
> URL: https://issues.apache.org/jira/browse/METRON-831
> Project: Metron
> Issue Type: Improvement
> Reporter: Casey Stella
>
> To enable use-cases where the user may want to do simple iteration, we can
> expose simple functional primitives such as:
> * MAP
> * REDUCE
> * FILTER
> To fully support this, we will need lambda expressions as arguments to these
> functions.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)