cloud-fan commented on a change in pull request #34984:
URL: https://github.com/apache/spark/pull/34984#discussion_r775760615
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/orc/OrcFileFormat.scala
##########
@@ -161,8 +161,9 @@ class OrcFileFormat
}
val (requestedColIds, canPruneCols) = resultedColPruneInfo.get
+ val orcCatalystSchema = OrcUtils.toCatalystSchema(reader.getSchema)
val resultSchemaString = OrcUtils.orcResultSchemaString(canPruneCols,
- dataSchema, resultSchema, partitionSchema, conf)
+ dataSchema, resultSchema, orcCatalystSchema, partitionSchema, conf)
Review comment:
can you explain more about this change?
--
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]