viirya commented on a change in pull request #28826:
URL: https://github.com/apache/spark/pull/28826#discussion_r440265563
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/SchemaPruning.scala
##########
@@ -120,7 +120,8 @@ object SchemaPruning {
private def getRootFields(expr: Expression): Seq[RootField] = {
Review comment:
I think `getRootFields` is used for data source v1 and v2. Why only v2
is affected?
----------------------------------------------------------------
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]