Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-23410 Unable to read jsons in charset different from UTF-8
  3. SPARK-23725

Improve Hadoop's LineReader to support charsets different from UTF-8

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Incomplete
    • 2.4.0
    • None
    • SQL

    Description

      If the record delimiter is not specified, Hadoop LineReader splits lines/records by '\n', '\r' or/and '\r\n' in UTF-8 encoding: https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/LineReader.java#L173-L177 . The implementation should be improved to support any charset.

      Attachments

        Activity

          People

            Unassigned Unassigned
            maxgekk Max Gekk
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: