tachun-shen-appier opened a new issue, #6535:
URL: https://github.com/apache/paimon/issues/6535

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/paimon/issues) 
and found nothing similar.
   
   
   ### Paimon version
   
   1.2.0
   
   ### Compute Engine
   
   Spark
   
   ### Minimal reproduce step
   
   `SparkCatalog::initialize` accepts a `CaseInsensitiveStringMap` as the input 
and `Options.fromMap(options)` will create an `Options` with lower case keys.
   
https://github.com/apache/paimon/blob/release-1.2.0/paimon-spark/paimon-spark-common/src/main/java/org/apache/paimon/spark/SparkCatalog.java#L125
   
   ### What doesn't meet your expectations?
   
   Sometimes the catalog options should be case sensitive. For example, the 
`jdbc.socketFactory` option will be passed to the PostgreSQL JDBC driver and 
the driver only recognizes `socketFactory`, not `socketfactory`.
   
   We can fix this problem by using the original case sensitive map 
`Options.fromMap(options.asCaseSensitiveMap())`.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


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

Reply via email to