cloud-fan commented on code in PR #38703: URL: https://github.com/apache/spark/pull/38703#discussion_r1028795081
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/subquery.scala: ########## @@ -355,7 +355,7 @@ case class ListQuery( plan.canonicalized, outerAttrs.map(_.canonicalized), ExprId(0), - childOutputs.map(_.canonicalized.asInstanceOf[Attribute]), + plan.canonicalized.output, Review Comment: @allisonwang-db do you know why we have `childOutputs`? It seems to be `child.output` most of the time -- 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