dbtsai commented on a change in pull request #26751: [SPARK-30107][SQL] Expose
nested schema pruning to all V2 sources
URL: https://github.com/apache/spark/pull/26751#discussion_r355740043
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DataSourceStrategy.scala
##########
@@ -438,6 +438,22 @@ object DataSourceStrategy {
}
}
+ /**
+ * The attribute name may differ from the one in the schema if the query
analyzer
+ * is case insensitive. We should change attribute names to match the ones
in the schema,
+ * so we do not need to worry about case sensitivity anymore.
+ */
+ protected[sql] def normalizeExprs(
Review comment:
Can we rename it in a separate PR before we merge it? I'm working on this
case, and it's harder if we have two copies. Thanks.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]