Github user cloud-fan commented on the issue: https://github.com/apache/spark/pull/19767 @maropu it partially covers #18641 . One problem is that, for an expression, if its child generates code less than 1024, and it has many children, then we still have an issue. `CaseWhen` is a little different because it at most can have 20 children(depends on `spark.sql.codegen.maxCaseBranches`). So we can still prevent failures, but may not be able to JIT.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org