metron-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Miklavcic (JIRA)" <j...@apache.org>
Subject [jira] [Created] (METRON-1920) Backslash escaping appears to be broken in some Stellar contexts in the REPL
Date Tue, 04 Dec 2018 18:02:00 GMT
Michael Miklavcic created METRON-1920:
-----------------------------------------

             Summary: Backslash escaping appears to be broken in some Stellar contexts in
the REPL
                 Key: METRON-1920
                 URL: https://issues.apache.org/jira/browse/METRON-1920
             Project: Metron
          Issue Type: Bug
            Reporter: Michael Miklavcic


I tried 1-7 escapes on the last SPLIT with backslash and they all failed to escape properly.
Adding a 3rd trailing quote allows the expression to error out and continue the REPL without
quitting.
{code:java}
[Stellar]>>> myval := 'hello,world'
hello,world
[Stellar]>>> SPLIT(myval, ';')
[hello,world]
[Stellar]>>> SPLIT(myval, ',')
[hello, world]
[Stellar]>>> SPLIT(myval, '\'')
[hello,world]
[Stellar]>>> SPLIT(myval, '\\')
>
{code}
Ran the REPL with the following command:
{code:java}
mvn exec:java \
-Dexec.mainClass="org.apache.metron.stellar.common.shell.cli.StellarShell" \
-pl metron-stellar/stellar-common
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message