rajarshisarkar commented on code in PR #4903:
URL: https://github.com/apache/iceberg/pull/4903#discussion_r895329765


##########
spark/v3.2/spark/src/main/java/org/apache/iceberg/spark/SparkCatalog.java:
##########
@@ -119,7 +119,7 @@ public class SparkCatalog extends BaseCatalog {
   protected Catalog buildIcebergCatalog(String name, CaseInsensitiveStringMap 
options) {
     Configuration conf = 
SparkUtil.hadoopConfCatalogOverrides(SparkSession.active(), name);
     Map<String, String> optionsMap = new 
TreeMap<>(String.CASE_INSENSITIVE_ORDER);
-    optionsMap.putAll(options);
+    optionsMap.putAll(options.asCaseSensitiveMap());

Review Comment:
   Yes, correct! 
   
   Thanks, for merging. I'll backport the changes for Spark 3.x.



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

Reply via email to