[ https://issues.apache.org/jira/browse/FLINK-7786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16423028#comment-16423028 ]
Cristian commented on FLINK-7786: --------------------------------- It would be awesome if this were fixed/implemented. In our case, one of the parameters to the program might contain double quotes (e.g. --param "value = \"foo\" etc."), and with the current implementation in 1.4.2 as well as the one introduced in FLINK-7715, it is impossible to make this work. The way I'm planning to workaround this is to receive that argument as a Base64 string, which will surely work but it's a terrible bummer. > JarActionHandler.tokenizeArguments removes all quotes from program arguments > ---------------------------------------------------------------------------- > > Key: FLINK-7786 > URL: https://issues.apache.org/jira/browse/FLINK-7786 > Project: Flink > Issue Type: Bug > Components: Job-Submission, JobManager > Affects Versions: 1.3.0 > Reporter: Brice Bingman > Priority: Minor > > I would like to send json as an argument to my program, but when submitting > it via the REST API, all the quotes in the json are gone, resulting in > invalid json. > The JarActionHandler.tokenizeArguments should only remove the leading and > trailing quotes of an argument, not all of the quotes. > Current workaround: Replace the quotes in json with an escape character and > replace them back in the run method. -- This message was sent by Atlassian JIRA (v7.6.3#76005)