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

Hyukjin Kwon edited comment on SPARK-18352 at 11/18/16 1:53 AM:
----------------------------------------------------------------

Hi [~rxin], I think it seems this can be simply done after 
https://github.com/apache/spark/pull/14151 and 
https://github.com/apache/spark/pull/15813 are merged. I guess we could just 
add another option in `JSONOptions` which sets `wholetext` internally (and of 
course resembling https://github.com/apache/spark/pull/14151). Would this be 
what you think in your mind already? If so, I can work on this if anyone is not 
supposed to do this. (I am fine if anyone is assigned to this internally).


was (Author: hyukjin.kwon):
Hi [~rxin], I think it seems this can be simply done after 
https://github.com/apache/spark/pull/14151 and 
https://github.com/apache/spark/pull/15813 are merged. I guess we could just 
add another option in `JSONOptions` which sets `wholetext` internally. Would 
this be what you think in your mind already? If so, I can work on this if 
anyone is not supposed to do this. (I am fine if anyone is assigned to this 
internally).

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to