Make the Array a Seq.
On Tue, Jul 15, 2014 at 7:12 AM, Jaonary Rabarisoa
wrote:
> Hi all,
>
> How should I store a one to many relationship using spark sql and parquet
> format. For example I the following case class
>
> case class Person(key: String, name: String, friends: Array[String])
>
> g
Hi all,
How should I store a one to many relationship using spark sql and parquet
format. For example I the following case class
case class Person(key: String, name: String, friends: Array[String])
gives an error when I try to insert the data in a parquet file. It doesn't
like the Array[String]