cloud-fan commented on a change in pull request #35147:
URL: https://github.com/apache/spark/pull/35147#discussion_r786003631
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/SchemaPruning.scala
##########
@@ -179,12 +187,15 @@ object SchemaPruning extends Rule[LogicalPlan] {
// We need to replace the expression ids of the pruned relation output
attributes
// with the expression ids of the original relation output attributes so
that
// references to the original relation's output are not broken
Review comment:
let's update the comment:
```
// We need to update the data type of the output attributes to use the
// pruned ones.
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]