Github user kiszk commented on the issue: https://github.com/apache/spark/pull/19813 IMHO, in general, the output `ev.value` would be declared as local variable by parent as ``` s"""${ctx.javaType(dataType)} ${ev.value} = ${ctx.defaultValue(dataType)}; ``` Such as cases cannot have an expression in `ev.value`. As @viirya pointed out, I imagine there are a few scenarios. Would it be possible to show an example and place in source code where an expression is used as output in order to correctly understand the issue?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org