cloud-fan commented on a change in pull request #32017:
URL: https://github.com/apache/spark/pull/32017#discussion_r605372596
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicLogicalOperators.scala
##########
@@ -466,6 +488,8 @@ case class View(
override def output: Seq[Attribute] = child.output
+ override def metadataOutput: Seq[Attribute] = child.output
Review comment:
For boundary nodes like `View` and `SubqueryAlias`, I think we should
not propagate as the query under them should not change during analysis after
they are resolved. `ResolveMissingReferences` skips `SubqueryAlias` as well.
--
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]