You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Thomas Sebastian (JIRA)" <ji...@apache.org> on 2016/11/09 06:49:58 UTC

[jira] [Comment Edited] (SPARK-18352) Parse normal, multi-line JSON files (not just JSON Lines)

    [ https://issues.apache.org/jira/browse/SPARK-18352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15649982#comment-15649982 ] 

Thomas Sebastian edited comment on SPARK-18352 at 11/9/16 6:49 AM:
-------------------------------------------------------------------

Hi [~rxin],
So, do you mean that stream API need not be used,and  there should be a new API which can read multiple json files?

-Thomas


was (Author: thomastechs):
Hi Reynold,
So, do you mean that stream API need not be used,and  there should be a new API which can read multiple json files?

-Thomas

> Parse normal, multi-line JSON files (not just JSON Lines)
> ---------------------------------------------------------
>
>                 Key: SPARK-18352
>                 URL: https://issues.apache.org/jira/browse/SPARK-18352
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>            Reporter: Reynold Xin
>
> Spark currently can only parse JSON files that are JSON lines, i.e. each record has an entire line and records are separated by new line. In reality, a lot of users want to use Spark to parse actual JSON files, and are surprised to learn that it doesn't do that.
> We can introduce a new mode (wholeJsonFile?) in which we don't split the files, and rather stream through them to parse the JSON files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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