Version of Spark? What is the exception?

On Tue, May 31, 2016 at 4:17 PM, Tim Gautier <tim.gaut...@gmail.com> wrote:

> How should I go about mapping from say a Dataset[(Int,Int)] to a
> Dataset[<case class here>]?
>
> I tried to use a map, but it throws exceptions:
>
> case class Test(a: Int)
> Seq(1,2).toDS.map(t => Test(t)).show
>
> Thanks,
> Tim
>

Reply via email to