You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/06/06 09:23:22 UTC
[GitHub] [spark] LuciferYang commented on pull request #36774: [DON'T MERGE][SQL] Reuse `orcScheam` when push down Orc predicates
LuciferYang commented on PR #36774:
URL: https://github.com/apache/spark/pull/36774#issuecomment-1147244030
https://github.com/apache/spark/blob/cc0bf563b8caea21da5692f05e34b5f77e002ab9/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/orc/OrcFileFormat.scala#L146-L161
After SPARK-37463:
For `OrcFileFormat`, `org.apache.orc.FileFormatException` is change to thrown in line 146(no longer line 156) and is always handled by `FileScanRDD`, whether `ignoreCorruptFiles` is true or not.
A similar situation exists for `OrcPartitionReaderFactory`, so should we change to use `OrcUtils.readSchema(filePath, conf, ignoreCorruptFiles)` instead?
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org