Github user cestella commented on the issue:

    https://github.com/apache/metron/pull/687
  
    Sorry, @ottobackwards this got lost in the shuffle.   What I was saying was 
that I think we should not adjust the VariableResolver infrastructure to update 
variables as the result of assignments, but rather return back the variable and 
the updated object.  For instance, in the `BaseStellarProcessor` class we have 
a `parse` method that returns the output of the expression.  I'd suggest we 
have a `parseExpression` and `parseAssignment` where the first acts as it does 
now and the second returns the variable name and the result.  As a follow-on, I 
think we can adjust the variableresolver infrastructure to support variable 
updates.
    
    I guess ultimately, I suggest a tactical solution that leads us to the 
right direction rather than trying to fix it all at once.
    
    Thoughts?


---

Reply via email to