[
https://issues.apache.org/jira/browse/METRON-1090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16331115#comment-16331115
]
ASF GitHub Bot commented on METRON-1090:
----------------------------------------
Github user nickwallen commented on the issue:
https://github.com/apache/metron/pull/687
> @ottobackwards : This is opt-in for the resolvers. The
MapVariableResolver does NOT support update, so there is no change to
Enrichment, Parsers, Profile, and Shell ( beyond what has been mentioned ).
If this PR does not change Parsers, Enrichment, Profiler, and the REPL,
then what does it change? Where can I use assignment based on this PR?
Does this just give us the 'capability' to add assignment to each of those?
We would then need to change the `VariableResolver`s used in each of those
areas to use the assignment as you've implemented it here?
> STELLAR Add Assignment capability to Stellar language
> -----------------------------------------------------
>
> Key: METRON-1090
> URL: https://issues.apache.org/jira/browse/METRON-1090
> Project: Metron
> Issue Type: New Feature
> Reporter: Otto Fowler
> Assignee: Otto Fowler
> Priority: Major
>
> Add support for =, +=, -=, *=, /= for variables in stellar.
> foo = 5 returns 5 AND sets foo to 5 if the VariableResolver supports it.
> The shell should be changed to assign variables using this syntax, because
> exposing the left side to stellar allows catching errors for invalid keywords
> in left side.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)