how to register UDF when scala code invoke python

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

how to register UDF when scala code invoke python

朱 婧迪
Hi,
I have some functions written by python that I'd like to register them as UDFs and use them from scala in Spark SQL. Any ideas on how to achieve this?