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

Unable to read jsons in charset different from UTF-8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 2.3.0
    • None
    • SQL

    Description

      Currently the Json Parser is forced to read json files in UTF-8. Such behavior breaks backward compatibility with Spark 2.2.1 and previous versions that can read json files in UTF-16, UTF-32 and other encodings due to using of the auto detection mechanism of the jackson library. Need to give back to users possibility to read json files in specified charset and/or detect charset automatically as it was before.    

      Attachments

        1. utf16WithBOM.json
          0.2 kB
          Max Gekk

        Activity

          People

            Unassigned Unassigned
            maxgekk Max Gekk
            hyukjin.kwon hyukjin.kwon
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: