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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Snowflake upsert issue

Looks like snowflake upsert is not supported on multiple columns and currently it allows only one column. Is there any alternate?

Labels (3)
4 Replies
Anonymous
Not applicable
Author

Hello,

The Upsert operation allows you to merge data in a Snowflake table based on the data that is incoming to tSnowflakeOutput. After selecting Upsert, select the column to be used as the join key of this operation.

Best regards

Sabrina

 
Anonymous
Not applicable
Author

Thank you.   It does not support multiple keys (multiple columns) to join.  It just allows to pick only one key, how do I multi select the join columns.

Anonymous
Not applicable
Author

I created a Hashkey from the unique column index. Like  (OrderNumber + OrderDate + PO_NUmber). I then insert this as my Key Column, it is only used for Upserts, not for referential integrity.

 

I also wrote a Hashing Routine Using either a SHA-1 Hash or a SHA256 to prevent collisions. I am still in testing but it seems to be working.

 

Good luck.

Anonymous
Not applicable
Author

The Issue is while I am trying to do Upsert based on the date column. It is taking the same time that is needed for the whole table to run.

 

Also, Please help me out with the table action, I am using None.