Insert Data Into Snowflake Table Using Function