1.6.1
> 在 2016年4月27日,下午6:28,Sachin Aggarwal <different.sac...@gmail.com> 写道:
> 
> what is ur spark version?
> 
> On Wed, Apr 27, 2016 at 3:12 PM, shengshanzhang <shengshanzh...@icloud.com 
> <mailto:shengshanzh...@icloud.com>> wrote:
> Hi,
> 
>       On spark website, there is code as follows showing how to create 
> datasets.
> <PastedGraphic-2.tiff> 
> 
>       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!
> 
> 
> 
> -- 
> 
> Thanks & Regards
> 
> Sachin Aggarwal
> 7760502772

Reply via email to