Casey Stella created METRON-1254:
------------------------------------

             Summary: Conditionals as map keys do not function in Stellar
                 Key: METRON-1254
                 URL: https://issues.apache.org/jira/browse/METRON-1254
             Project: Metron
          Issue Type: Bug
            Reporter: Casey Stella


We currently cannot represent map literals in stellar where the keys are 
conditionals.  For instance, the expression { x < 10 : 'info' } cannot be 
parsed currently and it should do.  Having this enables a switch-style 
statement: MAP_GET(true, { x < 10 : 'info', x >= 10 : 'warn' })



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to