Spark When Function Example, functions to work with DataFrame and SQL queries.