How to Call a Snowflake Procedure from Talend

Highlighted
Four Stars

How to Call a Snowflake Procedure from Talend

Hi,

 

I am trying to Execute a procedure from talend. HAve tried using tSnowflakeInput, tSnowflakeRow but no luck.

As it results in "[WARN ]: org.talend.components.snowflake.runtime.SnowflakeRowReader - Query execution failed. Record was not processed.
net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Unknown user-defined function EDP.Schema.PROC

 

I'm Calling the Procedure as "call Schema.Proc();" When executed in Snowflake, it runs fine. In Talend it displays the above exception.

 

Please advice on how to invoke this procedure from talend?

 

Highlighted
Moderator

Re: How to Call a Snowflake Procedure from Talend

@VRM_5389, you need to use tsnowflakerow component and call the procedure.

 

CALL temporary_db_qualified_names_test.temporary_schema_1.stproc_pi();

https://docs.snowflake.com/en/sql-reference/stored-procedures-usage.html 

Manohar B
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog