Denny Abraham Cheriyan created SPARK-60887:
----------------------------------------------
Summary: Preserve option key casing in
SessionState.newHadoopConfWithOptions
Key: SPARK-60887
URL: https://issues.apache.org/jira/browse/SPARK-60887
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 4.2.0
Reporter: Denny Abraham Cheriyan
SessionState.newHadoopConfWithOptions iterates directly over options. When
options is a CaseInsensitiveMap, its iterator yields lowercased keys, silently
breaking case-sensitive Hadoop Configuration keys passed via
DataFrameReader/DataStreamReader options. Unwrap CaseInsensitiveMap.originalMap
(matching DataSourceUtils.mergeWriteOptionsIntoHadoopConf from SPARK-56414) and
pass options.asCaseSensitiveMap in TextBasedFileScan.codecFactory.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]