While working on a little test, I ran into a semi bug in how the spark-cli spark function call command does not decode special characters when sent to the Spark. It’s probably better explained with an example:
CLI sends: spark function call <CORE ID> test "The cake is a lie"
Spark receives: The%20cake%20is%20a%20lie
I’m not sure if this is intentional or accidental (I’m guilty on many occasions), but thought I’d create a thread about it just in case.
Since it’s a POST request, I wouldn’t expect the arguments to be url escaped in the same way, so I suspect the request shouldn’t be made with those replacements. I’ll want to do some more research into it. Can you share the chunk of python you’re using to make the request?