Hi,

On Thu, Mar 5, 2015 at 12:20 AM, Imran Rashid <iras...@cloudera.com> wrote:

> This doesn't involve spark at all, I think this is entirely an issue with
> how scala deals w/ primitives and boxing.  Often it can hide the details
> for you, but IMO it just leads to far more confusing errors when things
> don't work out.  The issue here is that your map has value type Any, which
> leads scala to leave it as a boxed java.lang.Double.
>

I see, thank you very much for your explanation and the code examples!
Helps very much!

Thanks
Tobias

Reply via email to