viirya commented on a change in pull request #31897:
URL: https://github.com/apache/spark/pull/31897#discussion_r597839384
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicLogicalOperators.scala
##########
@@ -670,6 +670,8 @@ case class Window(
override def output: Seq[Attribute] =
child.output ++ windowExpressions.map(_.toAttribute)
+ override def producedAttributes: AttributeSet = windowOutputSet
Review comment:
Yea, I think so, although I changed it here for nested column pruning.
Currently it seems not causing other problem, although it is wrong. Looks
good to have it in other branches (3.0/2.4) too.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]