[ 
https://issues.apache.org/jira/browse/SPARK-26594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-26594:
------------------------------------

    Assignee:     (was: Apache Spark)

> DataSourceOptions.asMap should return CaseInsensitiveMap
> --------------------------------------------------------
>
>                 Key: SPARK-26594
>                 URL: https://issues.apache.org/jira/browse/SPARK-26594
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Shixiong Zhu
>            Priority: Major
>
> I'm pretty surprised that the following codes will fail.
> {code}
> import scala.collection.JavaConverters._
> import org.apache.spark.sql.sources.v2.DataSourceOptions
> val map = new DataSourceOptions(Map("fooBar" -> "x").asJava).asMap
> assert(map.get("fooBar") == "x")
> {code}
> It's better to make DataSourceOptions.asMap return CaseInsensitiveMap.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to