Sure and sparksql supports Hive UDFs.
ISTM that the UDF 'DATE_FORMAT' is just not registered in your metastore?
Did you say 'CREATE FUNCTION' in advance?

Thanks,

On Tue, Jul 14, 2015 at 6:30 PM, Ravisankar Mani <[email protected]> wrote:

> Hi Everyone,
>
> As mentioned in Spark sQL programming guide, Spark SQL support Hive UDFs.
> I have built the UDF's in hive meta store. It working perfectly in hive
> connection. But it is not working in spark ("java.lang.RuntimeException:
> Couldn't find function DATE_FORMAT").
>
> Could you please help how to use this hive UDF' s in sprak?
>
>
> Regards,
>
> Ravisankar M R
>



-- 
---
Takeshi Yamamuro

Reply via email to