Re: UDF returning generic Seq

2016-07-26 Thread Chris Beavers
itrary type. > > > https://issues.apache.org/jira/browse/SPARK-16279 > > > Yong > > > -- > *From:* Chris Beavers > *Sent:* Monday, July 25, 2016 10:32 PM > *To:* user@spark.apache.org > *Subject:* UDF returning generic Seq > > Hey there, > > Interested i

Re: UDF returning generic Seq

2016-07-26 Thread Yong Zhang
From: Chris Beavers 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 of generic templated

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 https://github.com/apache/spark/blob/master/sql/catalyst/src/main/