[ 
https://issues.apache.org/jira/browse/METRON-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484377#comment-16484377
 ] 

ASF GitHub Bot commented on METRON-1568:
----------------------------------------

Github user simonellistonball commented on the issue:

    https://github.com/apache/metron/pull/1021
  
    This is a great feature from my perspective. I've seen a number of people 
try and build solutions that require access to the whole message for a bunch of 
custom functions, models, rules engine integrations etc, and as a simple means 
of doing this, I love the approach. To address some of the points here, I 
agree, we need to avoid any chance of copying the whole map given the 
performance risk with some potentially sizable and numerous objects. 
Assignment... yep, _ should not be allowed on the left hand side, and it's a 
map, so assignment to an output field shouldn't be a big issue.


> Stellar should have a _ special variable which returns the message in map form
> ------------------------------------------------------------------------------
>
>                 Key: METRON-1568
>                 URL: https://issues.apache.org/jira/browse/METRON-1568
>             Project: Metron
>          Issue Type: Improvement
>            Reporter: Casey Stella
>            Priority: Major
>
> In order to support functions which operate on the whole message, we should 
> have a special variable (_, keeping with the vaguely scala theme) which can 
> return the entire underlying message.  This map should be immutable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to