Hi Ayoub,

thanks for your mail!

On Thu, Jan 29, 2015 at 6:23 PM, Ayoub <benali.ayoub.i...@gmail.com> wrote:
>
> SQLContext and hiveContext have a "jsonRDD" method which accept an
> RDD[String] where the string is a JSON String a returns a SchemaRDD, it
> extends RDD[Row] which the type you want.
>
> After words you should be able to do a join to keep your tuple.
>

I'm afraid that's not so easy, because you can only join on a certain key,
and the key is exactly what I have to drop in order to infer the schema.

Thanks
Tobias

Reply via email to