Github user jjmeyer0 commented on the issue:

    https://github.com/apache/metron/pull/814
  
    @ottobackwards something is still going on with this. I'm seeing the 
following behavior:
    
    ```bash
    [Stellar]>>> foo := 500
    [Stellar]>>> match{ foo > 100 => ['oops'], foo > 200 => ['oh no'], foo >= 
500 => MAP(['ok', 'haha'], (a) -> TO_UPPER(a)), default => ['a']}
    [!] Invalid parse, found [OK, HAHA]
    org.apache.metron.stellar.dsl.ParseException: Invalid parse, found [OK, 
HAHA]
            at 
org.apache.metron.stellar.common.StellarCompiler$Expression.apply(StellarCompiler.java:210)
            at 
org.apache.metron.stellar.common.BaseStellarProcessor.parse(BaseStellarProcessor.java:152)
            at 
org.apache.metron.stellar.common.shell.StellarExecutor.execute(StellarExecutor.java:292)
            at 
org.apache.metron.stellar.common.shell.StellarShell.handleStellar(StellarShell.java:282)
            at 
org.apache.metron.stellar.common.shell.StellarShell.execute(StellarShell.java:514)
            at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:53)
            at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
            at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
            at java.lang.Thread.run(Thread.java:748)
    [Stellar]>>> 
    ```


---

Reply via email to