Access to this content is reserved for our valued members. Please log in to your account to unlock this exclusive material.
- Post author:Naveen Nelamali
- Post category:Apache Spark / Member
- Post last modified:April 24, 2024
- Reading time:6 mins read
![You are currently viewing Spark SQL “case when” and “when otherwise”](https://i0.wp.com/sparkbyexamples.com/wp-content/uploads/2019/02/spark-case-when.jpg?fit=2003%2C1206&ssl=1)
Tags: expr, otherwise, spark case when, spark switch statement, spark when otherwise, spark.createDataFrame, when, withColumn