MaxGekk opened a new pull request #29987:
URL: https://github.com/apache/spark/pull/29987


   ### What changes were proposed in this pull request?
   Propagate ORC options to Hadoop configs in Hive `OrcFileFormat` and in the 
regular ORC datasource.
   
   ### Why are the changes needed?
   There is a bug that when running:
   ```scala
   spark.read.format("orc").options(conf).load(path)
   ```
   The underlying file system will not receive the conf options.
   
   ### Does this PR introduce _any_ user-facing change?
   Yes
   
   ### How was this patch tested?
   Added UT to `OrcSourceSuite`.
   
   Authored-by: Max Gekk <max.gekkgmail.com>
   Signed-off-by: Dongjoon Hyun <dhyunapple.com>
   (cherry picked from commit c5f6af9f17498bb0ec393c16616f2d99e5d3ee3d)
   Signed-off-by: HyukjinKwon <[email protected]>
   (cherry picked from commit 9892b3e452de490f7d2346bacf971ec13b92b219)
   Signed-off-by: Max Gekk <[email protected]>


----------------------------------------------------------------
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]

Reply via email to