viirya commented on a change in pull request #29737:
URL: https://github.com/apache/spark/pull/29737#discussion_r556701853
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/orc/OrcFileFormat.scala
##########
@@ -160,6 +160,9 @@ class OrcFileFormat
val capacity = sqlConf.orcVectorizedReaderBatchSize
OrcConf.IS_SCHEMA_EVOLUTION_CASE_SENSITIVE.setBoolean(hadoopConf,
sqlConf.caseSensitiveAnalysis)
+ OrcConf.FORCE_POSITIONAL_EVOLUTION.setBoolean(hadoopConf,
+ hadoopConf.getBoolean("spark.hadoop." +
OrcConf.FORCE_POSITIONAL_EVOLUTION.getAttribute,
+ false))
Review comment:
Oh I see. Yeah, you're right. The hadoop conf here is cleaned up. If
users specify `spark.hadoop.orc.force.positional.evolution`, it will be removed
the prefix and added into this conf.
----------------------------------------------------------------
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]