Re: java.lang.UnsupportedOperationException: No Encoder found for Set[String]

2018-08-16 Thread Manu Zhang
spark.implicits._ > >> import spark.sqlContext.implicits._ > >> > >> val testCCDS = Seq(TestCC(1,Set("SS","Salil")), TestCC(2, Set("xx", > >> "XYZ"))).toDS() > >> > >> > >> I get : > >> java.lang.UnsupportedOpera

Re: java.lang.UnsupportedOperationException: No Encoder found for Set[String]

2018-08-16 Thread Venkat Dabri
spark.implicits._ >> import spark.sqlContext.implicits._ >> >> val testCCDS = Seq(TestCC(1,Set("SS","Salil")), TestCC(2, Set("xx", >> "XYZ"))).toDS() >> >> >> I get : >> java.lang.UnsupportedOperationException: N

Re: java.lang.UnsupportedOperationException: No Encoder found for Set[String]

2018-08-16 Thread Manu Zhang
alil")), TestCC(2, Set("xx", > "XYZ"))).toDS() > > > I get : > java.lang.UnsupportedOperationException: No Encoder found for Set[String] > - field (class: "scala.collection.immutable.Set", name: "ss") > - root class: "TestCC"

java.lang.UnsupportedOperationException: No Encoder found for Set[String]

2018-08-15 Thread V0lleyBallJunki3
quot;SS","Salil")), TestCC(2, Set("xx", "XYZ"))).toDS() I get : java.lang.UnsupportedOperationException: No Encoder found for Set[String] - field (class: "scala.collection.immutable.Set", name: "ss") - root class: "TestCC" at org.