Re: Hive Java UDF running on spark-sql issue

2017-02-01 Thread Alex
Yes... Its taking values form a record which is a json and converting it into multiple columns after typecasting... On Wed, Feb 1, 2017 at 4:07 PM, Marco Mistroni wrote: > Hi > What is the UDF supposed to do? Are you trying to write a generic > function to convert values

Re: Hive Java UDF running on spark-sql issue

2017-02-01 Thread Marco Mistroni
Hi What is the UDF supposed to do? Are you trying to write a generic function to convert values to another type depending on what is the type of the original value? Kr On 1 Feb 2017 5:56 am, "Alex" wrote: Hi , we have Java Hive UDFS which are working perfectly fine in

Hive Java UDF running on spark-sql issue

2017-01-31 Thread Alex
Hi , we have Java Hive UDFS which are working perfectly fine in Hive SO for Better performance we are migrating the same To Spark-sql SO these jar files we are giving --jars argument to spark-sql and defining temporary functions to make it to run on spark-sql there is this particular Java UDF