d Message
> From : em...@yeikel.com
> To : kfehl...@gmail.com
> Date : Mon, 07 Jan 2019 04:11:22 -0800
> Subject : Re: Can an UDF return a custom class other than case class?
>
>
> In this case I am just curious because I'd like to know if it is possible.
>
> At
Forwarded Message
>From : em...@yeikel.com
To : kfehl...@gmail.com
Date : Mon, 07 Jan 2019 04:11:22 -0800
Subject : Re: Can an UDF return a custom class other than case class?
In this case I am just curious because I'd like to know if it is possible.
At the s
Is there a reason why case classes won't work for your use case?
On Sun, Jan 6, 2019 at 10:43 PM wrote:
> Hi ,
>
>
>
> Is it possible to return a custom class from an UDF other than a case
> class?
>
>
>
> If so , how can we avoid this exception ? :
> java.lang.UnsupportedOperationException:
Hi ,
Is it possible to return a custom class from an UDF other than a case class?
If so , how can we avoid this exception ? :
java.lang.UnsupportedOperationException: Schema for type {custom type} is
not supported
Full Example :
import spark.implicits._
import