snowflakedb / snowpark-java-scala

Snowflake Snowpark Java & Scala API
Apache License 2.0
18 stars 20 forks source link

SNOW-860986: Temp UDFs not cleaned up after session closed #43

Open vikasgupta78 opened 1 year ago

vikasgupta78 commented 1 year ago

We use session.udf().registerTemporary(....) to register UDFs with the assumption that once session is closed these functions would be cleaned up automatically. They do not get cleaned up and linger around for a very long time.

vikasgupta78 commented 1 year ago

as part of zingg enterprise https://www.zingg.ai/company/zingg-enterprise-snowflake we are building using snowflake and use snowpark heavily. we define custom udfs that do machine learning, and graph processing and we see that they are not cleaned up..