Hi,

I'm trying to load JSON file and store the same as parquet file from a
standalone program. But at the time of saving parquet file, I'm getting the
following exception. Can anyone help me on this.

Exception in thread "main" java.lang.RuntimeException: Unsupported dataType:
StructType(ArrayBuffer(<here displayed all StructFields>)), [1.982] failure:
`,' expected but `' found

Note: This method worked for me for sample JSON files.

Thanks.



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/saveAsParquetFile-throwing-exception-tp18929.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to