Spark When Function Example, In other words, I'd like to get more than two outputs.