Re: converting timestamp column to a java.util.Date

2017-01-23 Thread Takeshi Yamamuro
Hi, I think Spark UDF can only handle `java.sql.Date`. So, you need to change the return type in you UDF. // maropu On Tue, Jan 24, 2017 at 8:18 AM, Marco Mistroni wrote: > HI all > i am trying to convert a string column, in a Dataframe , to a > java.util.Date but i am getting this exceptio

converting timestamp column to a java.util.Date

2017-01-23 Thread Marco Mistroni
HI all i am trying to convert a string column, in a Dataframe , to a java.util.Date but i am getting this exception [dispatcher-event-loop-0] INFO org.apache.spark.storage.BlockManagerInfo - Removed broadcast_0_piece0 on 169.254.2.140:53468 in memory (size: 14.3 KB, free: 767.4 MB) Exception in