viirya commented on a change in pull request #32059:
URL: https://github.com/apache/spark/pull/32059#discussion_r611092514
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/ProjectionOverSchema.scala
##########
@@ -41,9 +41,14 @@ case class ProjectionOverSchema(schema: StructType) {
case a: GetArrayStructFields =>
getProjection(a.child).map(p => (p, p.dataType)).map {
case (projection, ArrayType(projSchema @ StructType(_), _)) =>
+ // For case-sensitivity aware field resolution, we should take
`ordinal` which
Review comment:
Ah, I missed this comment. As it is minor, I will add the comment in
#31966 for master only.
--
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]