Hi,

Can someone provide me pointers for this issue.

Thanks
Subacini


On Wed, Jul 2, 2014 at 3:34 PM, Subacini B <subac...@gmail.com> wrote:

> Hi,
>
> Below code throws  compilation error , "not found: *value Sum*" . Can
> someone help me on this. Do i need to add any jars or imports ? even for
> Count , same error is thrown
>
> val queryResult = sql("select * from Table)
>      queryResult.groupBy('colA)('colA,*Sum*('colB) as 'totB).aggregate(
> *Sum*('totB)).collect().foreach(println)
>
> Thanks
> subacini
>

Reply via email to