There is no SparkSession inside UDF function. Just add the procedure directly to playground.

HubertDudek_0-1765918539064.png

 


My blog: https://databrickster.medium.com/