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

Improve DataSource option keys to be more case-insensitive

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.1.0
    • SQL
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: