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

Improve DataSource option keys to be more case-insensitive

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: SQL
    • Labels:
      None

      Description

      Currently, `DataSource.scala` partially use `CaseInsensitiveMap` in code-path.

      This issue aims to make `DataSource` to use `CaseInsensitiveMap` generally except passing to the other modules (`InMemoryFileIndex` and `InsertIntoHadoopFsRelationCommand`). They creates new case-sensitive `HadoopConfs` by calling `newHadoopConfWithOptions(options)` inside.

      Also, the following options should be consistent.

      • CSVOptions
      • FileStreamOptions
      • JDBCOptions
      • JSONOptions
      • OrcOptions
      • ParquetOptions

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dongjoon Dongjoon Hyun
                Reporter:
                dongjoon Dongjoon Hyun
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: