You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Huaxin Gao (Jira)" <ji...@apache.org> on 2025/03/13 06:24:00 UTC
[jira] [Commented] (SPARK-51496) CaseInsensitiveStringMap comparison should ignore case
[ https://issues.apache.org/jira/browse/SPARK-51496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17935071#comment-17935071 ]
Huaxin Gao commented on SPARK-51496:
------------------------------------
I will submit a PR to fix this soon.
> CaseInsensitiveStringMap comparison should ignore case
> ------------------------------------------------------
>
> Key: SPARK-51496
> URL: https://issues.apache.org/jira/browse/SPARK-51496
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 4.0.0
> Reporter: Huaxin Gao
> Priority: Major
>
> When merging commandOptions and dsOptions (both of them are CaseInsensitiveStringMap), we have
> {quote}assert(commandOptions == dsOptions || commandOptions.isEmpty || dsOptions.isEmpty){quote}
> If commandOptions has ("KEY", "value"), and dsOption has ("key", "value"), the assertion fails, but it should pass instead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org