Did you do the import as the first comment shows ? > On Apr 27, 2016, at 2:42 AM, shengshanzhang <shengshanzh...@icloud.com> wrote: > > Hi, > > On spark website, there is code as follows showing how to create > datasets.
> > > However when i input this line into spark-shell,there comes a Error, > and who can tell me Why and how to fix this? > > scala> val ds = Seq(1, 2, 3).toDS() > <console>:35: error: value toDS is not a member of Seq[Int] > val ds = Seq(1, 2, 3).toDS() > > > > Thank you a lot!
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org