No, I created the file by appending each JSON record in a loop without
changing line. I've just changed that and now it works fine. Thank you very
much for your support.
--
View this message in context:
http://apache-spark-developers-list.1001551.n3.nabble.com/SQLContext-read-json-path-throws-j
>>> To unsubscribe, e-mail: [hidden email]
>>> <http:///user/SendEmail.jtp?type=node&node=13852&i=1>
>>> For additional commands, e-mail: [hidden email]
>>> <http:///user/SendEmail.jtp?type=node&node=13852&i=2>
>>>
Yes, it contain one line
On Wed, Aug 26, 2015 at 8:20 PM, Yin Huai-2 [via Apache Spark Developers
List] wrote:
> The JSON support in Spark SQL handles a file with one JSON object per line
> or one JSON array of objects per line. What is the format your file? Does
> it only contain a single line?
The JSON support in Spark SQL handles a file with one JSON object per line
or one JSON array of objects per line. What is the format your file? Does
it only contain a single line?
On Wed, Aug 26, 2015 at 6:47 AM, gsvic wrote:
> Hi,
>
> I have the following issue. I am trying to load a 2.5G JSON