[SPARK-3813][SQL] Support "case when" conditional functions in Spark SQL.

"case when" conditional function is already supported in Spark SQL but there is no support in SqlParser. So added parser support to it.

Author : ravipesala ravindra.pesala@huawei.com
Awesome! code is greatly simplified. Thank you for your comments. Updated code as per your suggestions.