I have a simple Python Program, which takes a Integer as a input and gives a string as a output.
I have created the wheel file for this Python code.
Then I have uploaded it in the Wheel section of Databricks cluster.
After this I want to create a permanent function using this wheel.
Earlier I have done it using jar file by the below command:
%sql
CREATE FUNCTION simple_udf AS 'SimpleUdf'
USING JAR '/tmp/SimpleUdf.jar';
This time I want to create a function using the python wheel file.
End goal is to use the permanent function in the view definition.
Any help is appreciated 🙂