You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2017/03/11 05:42:04 UTC

[jira] [Created] (SPARK-19918) Use TextFileFormat in implementation of JsonFileFormat

Hyukjin Kwon created SPARK-19918:
------------------------------------

             Summary: Use TextFileFormat in implementation of JsonFileFormat
                 Key: SPARK-19918
                 URL: https://issues.apache.org/jira/browse/SPARK-19918
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.2.0
            Reporter: Hyukjin Kwon


If we use Dataset for initial loading when inferring the schema, there are advantages. Please refer SPARK-18362

It seems JSON one was supposed to be fixed together but missed according to https://github.com/apache/spark/pull/15813

{quote}
A similar problem also affects the JSON file format and this patch originally fixed that as well, but I've decided to split that change into a separate patch so as not to conflict with changes in another JSON PR.
{quote}

Also, this affects some functionalities because it does not use {{FileScanRDD}}. This problem is described in SPARK-19885 (but it was CSV's case).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org