Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Datateam
Contributor II
Contributor II

Can a query tag be passed from Qlik Replicate to Snowflake?

Hi
It is possible to pass a query tag from QR to Snowflake
from the endpoints odbc connection or from the Tasks themselves.
This would help us identify the different sources of change and analyze performance and costs.

Thanks.-

Labels (2)
1 Solution

Accepted Solutions
john_wang
Support
Support

Hi @Datateam ,

Thanks for the update. Personally I do not think there is an easy way to achieve that in Qlik Replicate. 

Regards,

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!

View solution in original post

3 Replies
john_wang
Support
Support

Hello @Datateam ,

Thanks for reaching out to Qlik Community!

One of the method is adding an internal parameter afterConnectScript in Snowflake target endpoint, and set its value for example:

alter session set query_tag='your-queries-tags'

Where 'your-queries-tags' is the tag you want to be put on your queries inside of Snowflake.

Hope this helps.

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!
Datateam
Contributor II
Contributor II
Author

Hi John

Thanks for the reply, however this solution only tags operations of the type USE, SET and ALTER_SESSION and what we want is to tag operations of the type DML and COPY, PUT_FILES, REMOVE_FILES, TRUNCATE_TABLE.

Thanks.

Hugo

john_wang
Support
Support

Hi @Datateam ,

Thanks for the update. Personally I do not think there is an easy way to achieve that in Qlik Replicate. 

Regards,

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!