Re: UDF returning generic Seq

2016-07-26 Thread Chris Beavers
ry type. > > > https://issues.apache.org/jira/browse/SPARK-16279 > > > Yong > > > -- > *From:* Chris Beavers <cbeav...@trifacta.com> > *Sent:* Monday, July 25, 2016 10:32 PM > *To:* user@spark.apache.org > *Subject:* UDF return

Re: UDF returning generic Seq

2016-07-26 Thread Yong Zhang
Chris Beavers <cbeav...@trifacta.com> Sent: Monday, July 25, 2016 10:32 PM To: user@spark.apache.org Subject: UDF returning generic Seq Hey there, Interested in writing a UDF that returns an ArrayType column of unknown subtype. My understanding is that this translated JVM-type-wise be a Seq

UDF returning generic Seq

2016-07-25 Thread Chris Beavers
Hey there, Interested in writing a UDF that returns an ArrayType column of unknown subtype. My understanding is that this translated JVM-type-wise be a Seq of generic templated type: Seq[Any]. I seem to be hitting the constraint at