Re: Facing error while extending scala class with Product interface to overcome limit of 22 fields in spark-shell

2015-02-26 Thread Patrick Varilly
Hi, Akhil, In your definition of sdp_d , all your fields are of type Option[X]. In Scala, a value of type Option[X] can hold one of two things: 1. None 2. Some(x), where

Re: Facing error while extending scala class with Product interface to overcome limit of 22 fields in spark-shell

2015-02-26 Thread Patrick Varilly
he compilation error is now > resolved. > > Thanks a lot again !! > > On Thu, Feb 26, 2015 at 2:40 PM, Patrick Varilly < > patrick.vari...@dataminded.be> wrote: > >> Hi, Akhil, >> >> In your definition of sdp_d >> <http://stackoverflow.com/questions/286891