[
https://issues.apache.org/jira/browse/METRON-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16483928#comment-16483928
]
ASF GitHub Bot commented on METRON-1568:
----------------------------------------
Github user cestella commented on the issue:
https://github.com/apache/metron/pull/1021
@ottobackwards I don't see it really affecting assignment. `_` should
behave just like any other variable to my mind and return a map. For instance,
if you say `new_field := _`, then I'd expect `new_field` to be a map with all
of the existing fields for a message. We should prevent `_` from being on the
left-hand-side, though, I think.
> 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)