Using UDF with the python connector


#1

I have a query that works within Snowflake, containing UDFs. However, I now want to execute the query using the python connector. However, it then no longer recognises the UDF. How can I fix this?


#2

@Marjoo, according to Snowflake documentation the only types of UDF supported are SQL and Javascript: https://docs.snowflake.net/manuals/sql-reference/user-defined-functions.html


#3

Thank you for your response. To be clear, I already have a working UDF in Snowflake. However, now I want to use this UDF with the python connector and then it no longer ‘sees’ the existing UDF in Snowflake.


#4

You might need to ping the maintainers of the Python connector at Snowflake Computing support for that one as it’s not part of the Snowplow pipeline.