The CASE expression is similar to a series of nested if/else and there are two forms that
can be used. The first form consists of a series of boolean βwhenβ expressions with
corresponding βthenβ expressions, and an optional βelseβ expression.
This is a specialization for a specific use case where we can take a fast path
for expressions that are infallible and can be cheaply computed for the entire
record batch rather than just for the rows where the predicate is true. For now,
this is limited to use with Column expressions but could potentially be used for other
expressions in the future