What error are you getting? Here is an example <https://databricks-prod-cloudfront.cloud.databricks.com/public/4027ec902e239c93eaaa8714f173bcfc/1023043053387187/3235416509199957/2840265927289860/latest.html> .
External types are documented here: http://spark.apache.org/docs/latest/sql-programming-guide.html#data-types On Fri, Apr 1, 2016 at 1:59 PM, Jerry Lam <chiling...@gmail.com> wrote: > Hi spark users and developers, > > Anyone tried to pass in an Array[Double] as a input to the UDF? I tried it > for many hours reading spark sql code but IK still couldn't figure out a > way to do this. > > Best Regards, > > Jerry >