Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-51496

CaseInsensitiveStringMap comparison should ignore case

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • SQL

    Description

      When merging commandOptions and dsOptions (both of them are CaseInsensitiveStringMap), we have

      assert(commandOptions == dsOptions || commandOptions.isEmpty || dsOptions.isEmpty)

      If commandOptions has ("KEY", "value"), and dsOption has ("key", "value"), the assertion fails, but it should pass instead.

      Attachments

        Activity

          People

            huaxingao Huaxin Gao
            huaxingao Huaxin Gao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: