Nope, this is not possible.
switch() case
constructs only work for ordinal/integral types and strings/char-arrays are not.
But this actually is not a Spark question but a standard C thing.
Nope, this is not possible.
switch() case
constructs only work for ordinal/integral types and strings/char-arrays are not.
But this actually is not a Spark question but a standard C thing.