--
> *From:* shyla deshpande <deshpandesh...@gmail.com>
> *Sent:* Thursday, March 23, 2017 8:18 PM
> *To:* user
> *Subject:* Spark dataframe, UserDefinedAggregateFunction(UDAF) help!!
>
> This is my input data. The UDAF needs to aggregate the goals for a team
> and return
Seq*[String]](0)
>
>
> Yong
>
>
> --
> *From:* shyla deshpande <deshpandesh...@gmail.com>
> *Sent:* Thursday, March 23, 2017 8:18 PM
> *To:* user
> *Subject:* Spark dataframe, UserDefinedAggregateFunction(UDAF) help!!
>
> This is my input data. The UDAF n
aframe, UserDefinedAggregateFunction(UDAF) help!!
This is my input data. The UDAF needs to aggregate the goals for a team and
return a map that gives the count for every goal in the team.
I am getting the following error
java.lang.ClassCastException: scala.collection.mutable.WrappedArray$ofRef
cannot b
This is my input data. The UDAF needs to aggregate the goals for a team and
return a map that gives the count for every goal in the team.
I am getting the following error
java.lang.ClassCastException: scala.collection.mutable.WrappedArray$ofRef
cannot be cast to [Ljava.lang.String;
at