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