spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xuqianjin (JIRA)" <>
Subject [jira] [Commented] (SPARK-23410) Unable to read jsons in charset different from UTF-8
Date Fri, 23 Nov 2018 09:08:00 GMT


xuqianjin commented on SPARK-23410:

hi [~hyukjin.kwon]  this the PR []

I have been reviewed twice before.

> Unable to read jsons in charset different from UTF-8
> ----------------------------------------------------
>                 Key: SPARK-23410
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Maxim Gekk
>            Priority: Major
>         Attachments: utf16WithBOM.json
> 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.    

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message