Re: trouble with NUMPY constructor in UDF

2016-03-10 Thread Andy Davidson
; Date: Wednesday, March 9, 2016 at 3:28 PM > To: Andrew Davidson <a...@santacruzintegration.com> > Cc: "user @spark" <user@spark.apache.org> > Subject: Re: trouble with NUMPY constructor in UDF > >> bq. epoch2numUDF = udf(foo, FloatType()) >> >

Re: trouble with NUMPY constructor in UDF

2016-03-10 Thread Andy Davidson
"user @spark" <user@spark.apache.org> Subject: Re: trouble with NUMPY constructor in UDF > bq. epoch2numUDF = udf(foo, FloatType()) > > Is it possible that return value from foo is not FloatType ? > > On Wed, Mar 9, 2016 at 3:09 PM, Andy Davidson <a...@santacruz