cloud-fan commented on code in PR #50345: URL: https://github.com/apache/spark/pull/50345#discussion_r2010001342
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/CheckAnalysis.scala: ########## @@ -345,6 +345,16 @@ trait CheckAnalysis extends LookupCatalog with QueryErrorsBase with PlanToString case operator: LogicalPlan => operator transformExpressionsDown { + case hof: HigherOrderFunction if hof.arguments.exists { + case LambdaFunction(_, _, _) => true Review Comment: I need a bit more context. So ideally the analyzer should rewrite `LambdaFunction` if it's in the right place? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org